parent
64f36613ef
commit
56c9e95b04
7 changed files with 35 additions and 3 deletions
@ -0,0 +1,9 @@ |
||||
## Implicit dependency fallback |
||||
|
||||
`dependency('foo')` now automatically fallback if the dependency is not found on |
||||
the system but a subproject wrap file or directory exists with the same name. |
||||
|
||||
That means that simply adding `subprojects/foo.wrap` is enough to add fallback |
||||
to any `dependency('foo')` call. It is however requires that the subproject call |
||||
`meson.override_dependency('foo', foo_dep)` to specify which dependency object |
||||
should be used for `foo`. |
@ -0,0 +1,4 @@ |
||||
project('sub_implicit', 'c', version : '1.0') |
||||
|
||||
dep = declare_dependency() |
||||
meson.override_dependency('sub_implicit', dep) |
Loading…
Reference in new issue