aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/failing/66 subproj different versions/subprojects/a/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/failing/66 subproj different versions/subprojects/a/meson.build')
-rw-r--r--meson/test cases/failing/66 subproj different versions/subprojects/a/meson.build11
1 files changed, 11 insertions, 0 deletions
diff --git a/meson/test cases/failing/66 subproj different versions/subprojects/a/meson.build b/meson/test cases/failing/66 subproj different versions/subprojects/a/meson.build
new file mode 100644
index 000000000..e84182a07
--- /dev/null
+++ b/meson/test cases/failing/66 subproj different versions/subprojects/a/meson.build
@@ -0,0 +1,11 @@
+project('a', 'c')
+
+c_dep = dependency('c', version:'1', fallback: ['c', 'c_dep'])
+
+alib = library('a', 'a.c',
+ dependencies: c_dep)
+
+a_dep = declare_dependency(
+ link_with: alib,
+ include_directories: include_directories('.'),
+)