summaryrefslogtreecommitdiffstats
path: root/test cases/failing/112 cmake executable dependency/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'test cases/failing/112 cmake executable dependency/meson.build')
-rw-r--r--test cases/failing/112 cmake executable dependency/meson.build9
1 files changed, 9 insertions, 0 deletions
diff --git a/test cases/failing/112 cmake executable dependency/meson.build b/test cases/failing/112 cmake executable dependency/meson.build
new file mode 100644
index 0000000..48d8fcb
--- /dev/null
+++ b/test cases/failing/112 cmake executable dependency/meson.build
@@ -0,0 +1,9 @@
+project('cmake-executable-dependency', 'c')
+
+if not find_program('cmake', required: false).found()
+ error('MESON_SKIP_TEST CMake is not installed')
+endif
+
+cmake = import('cmake')
+cmlib = cmake.subproject('cmlib')
+maind = cmlib.dependency('main')