summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-01-03 11:24:26 -0500
committerMatthias Clasen <mclasen@redhat.com>2021-01-03 21:34:04 -0500
commitd55f938f7cd862a4d1480be7c93f83c8be87898d (patch)
tree512384d88c2e715e399fa9944ee2cc8038eb6084 /meson.build
parent45bb4dc80c456618ff57caba24e7cf882b699347 (diff)
downloadgtk+-d55f938f7cd862a4d1480be7c93f83c8be87898d.tar.gz
printing: cairo-pdf is needed
The print backends need cairos pdf support, which is contingent on zlib, so enable that when using cairo as a subproject, as we do in ci for MacOS.
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build3
1 files changed, 2 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index e8d6841116..c84653c263 100644
--- a/meson.build
+++ b/meson.build
@@ -348,7 +348,8 @@ endif
gmodule_dep = dependency('gmodule-2.0', version: glib_req,
fallback : ['glib', 'libgmodule_dep'])
cairo_dep = dependency('cairo', version: cairo_req,
- fallback : ['cairo', 'libcairo_dep'])
+ fallback : ['cairo', 'libcairo_dep'],
+ default_options: ['zlib=enabled'])
cairogobj_dep = dependency('cairo-gobject', version: cairo_req,
fallback : ['cairo', 'libcairogobject_dep'])
pango_dep = dependency('pango', version: pango_req,