aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/linuxlike/5 dependency versions/subprojects/somelibver/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/linuxlike/5 dependency versions/subprojects/somelibver/meson.build')
-rw-r--r--meson/test cases/linuxlike/5 dependency versions/subprojects/somelibver/meson.build9
1 files changed, 9 insertions, 0 deletions
diff --git a/meson/test cases/linuxlike/5 dependency versions/subprojects/somelibver/meson.build b/meson/test cases/linuxlike/5 dependency versions/subprojects/somelibver/meson.build
new file mode 100644
index 000000000..c773814a9
--- /dev/null
+++ b/meson/test cases/linuxlike/5 dependency versions/subprojects/somelibver/meson.build
@@ -0,0 +1,9 @@
+project('some', 'c')
+
+somelib = library('some', 'lib.c')
+someinc = include_directories('.')
+
+# Define version only in declare_dependency
+some_dep = declare_dependency(link_with : somelib,
+ include_directories : someinc,
+ version : '0.3')