summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/meson.build5
1 files changed, 1 insertions, 4 deletions
diff --git a/data/meson.build b/data/meson.build
index d4e3bf4..5881648 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -31,11 +31,8 @@ foreach cairomm_mod : ['ft', 'pdf', 'png', 'ps', 'quartz', 'quartz-font',
'quartz-image', 'svg', 'win32', 'win32-font', 'xlib', 'xlib-xrender']
# Install the module only if there is a corresponding cairo module.
- if cairo_dep.type_name() == 'pkgconfig'
+ if cairo_dep.type_name() in ['pkgconfig', 'internal']
do_install = dependency('cairo-' + cairomm_mod, required: false).found()
- elif cairo_dep.type_name() == 'internal'
- do_install = dependency('cairo-' + cairomm_mod, fallback: 'cairo',
- required: false).found()
else
if cairomm_mod == 'png'
do_install = cpp_compiler.has_function('cairo_surface_write_to_png',