The Meson Build System http://mesonbuild.com/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
305 B

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())