aboutsummaryrefslogtreecommitdiff
path: root/test cases/cmake/5 object library/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'test cases/cmake/5 object library/meson.build')
-rw-r--r--test cases/cmake/5 object library/meson.build7
1 files changed, 1 insertions, 6 deletions
diff --git a/test cases/cmake/5 object library/meson.build b/test cases/cmake/5 object library/meson.build
index c338136..f38a2dd 100644
--- a/test cases/cmake/5 object library/meson.build
+++ b/test cases/cmake/5 object library/meson.build
@@ -1,15 +1,10 @@
-project('cmake_object_lib_test', 'cpp')
+project('cmake_object_lib_test', ['c', 'cpp'])
dep_test = dependency('ZLIB', method: 'cmake', required: false)
if not dep_test.found()
error('MESON_SKIP_TEST: zlib is not installed')
endif
-cpp = meson.get_compiler('cpp')
-if build_machine.system() == 'windows' and cpp.get_id() != 'gcc'
- error('MESON_SKIP_TEST: Windows link.exe is not supported because of symbol export problems')
-endif
-
cm = import('cmake')
sub_pro = cm.subproject('cmObjLib')