A dependency declared in a subproject should be able to behave as a pkgconfig dependency, thus it should process the wanted version as a list.pull/3194/merge
parent
e9a7b0d2a9
commit
6f7f7c69a2
3 changed files with 16 additions and 1 deletions
@ -0,0 +1,10 @@ |
||||
project('subproject version', 'c', |
||||
version : '2.3.4', |
||||
license: 'mylicense') |
||||
|
||||
subproject('a') |
||||
|
||||
liba_dep = dependency('a', |
||||
fallback: ['a', 'liba_dep'], |
||||
version: ['>= 0.30.0', '!= 0.99.0']) |
||||
|
@ -0,0 +1,5 @@ |
||||
project('mysubproject', 'c', |
||||
version : '1.0.0', |
||||
license : 'sublicense') |
||||
|
||||
liba_dep = declare_dependency (version : '1.0.0') |
Loading…
Reference in new issue