mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-04 04:40:56 -06:00
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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user