From 0e98a7679a658b2a53a5de578f202a022c69f0c1 Mon Sep 17 00:00:00 2001 From: Daniel Mensinger Date: Mon, 1 Jun 2020 12:25:05 +0200 Subject: [PATCH] cmake: Skip MSVC like compilers, since C++11 is not supported --- test cases/cmake/19 advanced options/meson.build | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test cases/cmake/19 advanced options/meson.build b/test cases/cmake/19 advanced options/meson.build index 7e2d4e810..6332ca4b7 100644 --- a/test cases/cmake/19 advanced options/meson.build +++ b/test cases/cmake/19 advanced options/meson.build @@ -1,5 +1,10 @@ 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') opts = cm.subproject_options()