diff options
author | Brad King <brad.king@kitware.com> | 2019-10-10 14:46:58 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-10-10 17:14:42 (GMT) |
commit | 3fb146cb1149ecb90404a5276c8db3cb46e00889 (patch) | |
tree | 22a5f55a89a675be69953a26dd5319c3c6692273 /Tests/CompileFeatures | |
parent | 847e8bc98c68cdf5bc0b7935c68764c0a6d5658e (diff) | |
download | CMake-3fb146cb1149ecb90404a5276c8db3cb46e00889.zip CMake-3fb146cb1149ecb90404a5276c8db3cb46e00889.tar.gz CMake-3fb146cb1149ecb90404a5276c8db3cb46e00889.tar.bz2 |
Tests: Update CompileFeatures test for Intel 19 with VS 2015
Blacklist `cxx_relaxed_constexpr` for this case because the compiler
does not advertise the support in this mode but compiles our example.
Diffstat (limited to 'Tests/CompileFeatures')
-rw-r--r-- | Tests/CompileFeatures/CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/CompileFeatures/CMakeLists.txt b/Tests/CompileFeatures/CMakeLists.txt index 060fb49..ef9198d 100644 --- a/Tests/CompileFeatures/CMakeLists.txt +++ b/Tests/CompileFeatures/CMakeLists.txt @@ -130,6 +130,12 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL "MSVC") endif() if (CMAKE_CXX_COMPILER_ID STREQUAL "Intel") + if (CMAKE_CXX_SIMULATE_ID STREQUAL "MSVC" + AND CMAKE_CXX_SIMULATE_VERSION VERSION_LESS 19.10) + list(REMOVE_ITEM CXX_non_features + cxx_relaxed_constexpr + ) + endif() if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 16.0) if (CMAKE_CXX_COMIPLER_VERSION VERSION_EQUAL 15.0) list(REMOVE_ITEM CXX_non_features |