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.
 
 
 
 
 
 

10 lines
310 B

project('dependency fallbacks', 'c')
# 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())