cmake: Skip MSVC like compilers, since C++11 is not supported

pull/7231/head
Daniel Mensinger 5 years ago
parent ede2cd556c
commit 0e98a7679a
No known key found for this signature in database
GPG Key ID: 54DD94C131E277D4
  1. 5
      test cases/cmake/19 advanced options/meson.build

@ -1,5 +1,10 @@
project('cmake_set_opt', ['c', 'cpp']) project('cmake_set_opt', ['c', 'cpp'])
comp = meson.get_compiler('cpp')
if comp.get_argument_syntax() == 'msvc'
error('MESON_SKIP_TEST: MSVC is not supported because it does not support C++11')
endif
cm = import('cmake') cm = import('cmake')
opts = cm.subproject_options() opts = cm.subproject_options()

Loading…
Cancel
Save