diff options
Diffstat (limited to 'test cases/common/246 dependency fallbacks/meson.build')
-rw-r--r-- | test cases/common/246 dependency fallbacks/meson.build | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test cases/common/246 dependency fallbacks/meson.build b/test cases/common/246 dependency fallbacks/meson.build new file mode 100644 index 0000000..b418088 --- /dev/null +++ b/test cases/common/246 dependency fallbacks/meson.build @@ -0,0 +1,10 @@ +project('dependency fallbacks') + +# pkg-config has 'libpng' but cmake has 'png' and we have a 'png' subproject +# for platforms that have neither. +d = dependency('libpng', 'png', 'foo') +assert(d.found()) + +# Check that dependency 'foo' has been implicitly overridden. +d = dependency('foo') +assert(d.found()) |