summaryrefslogtreecommitdiffstats
path: root/Tests/Module/WriteCompilerDetectionHeader
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-01-22 15:29:08 (GMT)
committerBrad King <brad.king@kitware.com>2021-01-28 14:07:01 (GMT)
commitf26f10184fda39fd029ebc5fd4e72a55af5d3509 (patch)
tree8efaa31cc322c3307db26378835477f6d6b25dc4 /Tests/Module/WriteCompilerDetectionHeader
parent3ceb364b1c0bed59a2f0148a004882d374e23a5d (diff)
downloadCMake-f26f10184fda39fd029ebc5fd4e72a55af5d3509.zip
CMake-f26f10184fda39fd029ebc5fd4e72a55af5d3509.tar.gz
CMake-f26f10184fda39fd029ebc5fd4e72a55af5d3509.tar.bz2
Tests: Update Module.WriteCompilerDetectionHeader for IntelLLVM
Diffstat (limited to 'Tests/Module/WriteCompilerDetectionHeader')
-rw-r--r--Tests/Module/WriteCompilerDetectionHeader/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/Module/WriteCompilerDetectionHeader/CMakeLists.txt b/Tests/Module/WriteCompilerDetectionHeader/CMakeLists.txt
index 7339222..0cf74bf 100644
--- a/Tests/Module/WriteCompilerDetectionHeader/CMakeLists.txt
+++ b/Tests/Module/WriteCompilerDetectionHeader/CMakeLists.txt
@@ -52,7 +52,7 @@ endmacro()
# detailed features tables, not just meta-features
if (CMAKE_C_COMPILE_FEATURES)
- if(NOT CMAKE_C_COMPILER_ID MATCHES "^(Cray|PGI|NVHPC|XL|XLClang)$")
+ if(NOT CMAKE_C_COMPILER_ID MATCHES "^(Cray|PGI|NVHPC|XL|XLClang|IntelLLVM)$")
set(C_expected_features ${CMAKE_C_COMPILE_FEATURES})
list(FILTER C_expected_features EXCLUDE REGEX "^c_std_[0-9][0-9]")
endif()
@@ -95,7 +95,7 @@ if (C_expected_features)
endif()
if (CMAKE_CXX_COMPILE_FEATURES)
- if(NOT CMAKE_CXX_COMPILER_ID MATCHES "^(Cray|PGI|NVHPC|XL|XLClang)$")
+ if(NOT CMAKE_CXX_COMPILER_ID MATCHES "^(Cray|PGI|NVHPC|XL|XLClang|IntelLLVM)$")
set(CXX_expected_features ${CMAKE_CXX_COMPILE_FEATURES})
list(FILTER CXX_expected_features EXCLUDE REGEX "^cxx_std_[0-9][0-9]")
endif()