summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2020-09-29 13:12:23 -0400
committerXavier Claessens <xavier.claessens@collabora.com>2020-09-29 21:06:53 -0400
commit53a1a7bcbd9e2da1a037bc38da6279cb06baffed (patch)
tree5405ed05ad28975252584871ea6a0d3e83da970e /meson.build
parent86516a454fb71b1a6564b4e76174503711eed05b (diff)
downloadpango-53a1a7bcbd9e2da1a037bc38da6279cb06baffed.tar.gz
meson: Fix cairo fallback
When building with -Dcairo=enabled the first dependency('cairo', ...) call was aborting instead of returning not-found and continue with msvc checks and then again dependency() check with a fallback set.
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 36fc4112..504b68b5 100644
--- a/meson.build
+++ b/meson.build
@@ -372,7 +372,7 @@ if host_system == 'darwin'
endif
cairo_found_type = ''
-cairo_dep = dependency('cairo', version: cairo_req_version, required: get_option('cairo'))
+cairo_dep = dependency('cairo', version: cairo_req_version, required: false)
if cairo_dep.found()
cairo_found_type = cairo_dep.type_name()