summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2021-09-12 15:55:31 +0100
committerTim-Philipp Müller <tim@centricular.com>2021-09-12 15:55:31 +0100
commit08cd1fdebec79ced88f5912fc9703a3924c34334 (patch)
tree009c60e2e576cb8e6a2ebd5328457414b7e0afd8 /meson.build
parent918fe02666f681decb79a0dd8dd782b1f42b13f8 (diff)
downloadcairo-08cd1fdebec79ced88f5912fc9703a3924c34334.tar.gz
meson: fix build without libpng
meson.build:966:2: ERROR: Expected 1 arguments, got 0.
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 2ffd4ea32..f1fc25e41 100644
--- a/meson.build
+++ b/meson.build
@@ -963,7 +963,7 @@ subdir('src')
if feature_conf.get('CAIRO_HAS_PNG_FUNCTIONS', 0) == 1
subdir('boilerplate')
else
- cairoboilerplate_dep = dependency()
+ cairoboilerplate_dep = dependency('', required: false)
endif
subdir('util')