From fc800a2cb8cb754e55db1b6ede287079d44dc244 Mon Sep 17 00:00:00 2001 From: Daniel Mensinger Date: Thu, 5 Dec 2019 11:42:50 +0100 Subject: mintro: Add version key to --scan-dependencies (fixes #6287) --- test cases/unit/57 introspection/meson.build | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'test cases') diff --git a/test cases/unit/57 introspection/meson.build b/test cases/unit/57 introspection/meson.build index 7589f3f..a094a55 100644 --- a/test cases/unit/57 introspection/meson.build +++ b/test cases/unit/57 introspection/meson.build @@ -13,8 +13,9 @@ set_variable('list_test_plusassign', []) list_test_plusassign += ['bugs everywhere'] if false - dependency('somethingthatdoesnotexist', required: true) - dependency('look_i_have_a_fallback', fallback: ['oh_no', 'the_subproject_does_not_exist']) + vers_str = '<=99.9.9' + dependency('somethingthatdoesnotexist', required: true, version: '>=1.2.3') + dependency('look_i_have_a_fallback', version: ['>=1.0.0', vers_str], fallback: ['oh_no', 'the_subproject_does_not_exist']) endif subdir('sharedlib') -- cgit v1.1