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
310 B
11 lines
310 B
3 years ago
|
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())
|
||
|
|
||
3 years ago
|
# Check that dependency 'foo' has been implicitly overridden.
|
||
3 years ago
|
d = dependency('foo')
|
||
|
assert(d.found())
|