diff options
author | Kjell Ahlstedt <kjellahlstedt@gmail.com> | 2024-09-04 10:23:25 +0200 |
---|---|---|
committer | Kjell Ahlstedt <kjellahlstedt@gmail.com> | 2024-09-04 10:23:25 +0200 |
commit | 86b19d87783a4e447d9d39ed35f65fcb5d05bf00 (patch) | |
tree | 48aa965fbab244e1dbcef81bf76fdc4dccb8a7f8 | |
parent | 1ade5c2f9f3b6939f846115a64cdbefa8a12a868 (diff) |
data/meson.build: Stop warning from probing for featurescairomm-1-14
See MR !31
-rw-r--r-- | data/meson.build | 5 |
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', |