diff options
Diffstat (limited to 'meson/test cases/unit/31 forcefallback/meson.build')
-rw-r--r-- | meson/test cases/unit/31 forcefallback/meson.build | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/meson/test cases/unit/31 forcefallback/meson.build b/meson/test cases/unit/31 forcefallback/meson.build new file mode 100644 index 000000000..8d84a6035 --- /dev/null +++ b/meson/test cases/unit/31 forcefallback/meson.build @@ -0,0 +1,9 @@ +project('mainproj', 'c', + default_options : []) + +zlib_dep = dependency('zlib', fallback: ['notzlib', 'zlib_dep']) +notfound_dep = dependency('cannotabletofind', fallback: ['definitelynotfound', 'some_var'], required : false) + +test_not_zlib = executable('test_not_zlib', ['test_not_zlib.c'], dependencies: [zlib_dep, notfound_dep]) + +test('test_not_zlib', test_not_zlib) |