diff options
author | Brad King <brad.king@kitware.com> | 2021-01-22 17:59:21 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-01-28 14:07:01 (GMT) |
commit | ae9f986da1d493f243c0c4bca7dab8dcee6a2861 (patch) | |
tree | aa48b1c1eaf4ec7a36cc22a4dceb1c64631db1e1 /Tests | |
parent | 882baca37b07dde28443c11faf052f35834d0da3 (diff) | |
download | CMake-ae9f986da1d493f243c0c4bca7dab8dcee6a2861.zip CMake-ae9f986da1d493f243c0c4bca7dab8dcee6a2861.tar.gz CMake-ae9f986da1d493f243c0c4bca7dab8dcee6a2861.tar.bz2 |
Tests: Update Assembler test for IntelLLVM
Enable parts of the test the same way we do for `Intel`.
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/Assembler/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/Assembler/CMakeLists.txt b/Tests/Assembler/CMakeLists.txt index a574c4e..0a2c819 100644 --- a/Tests/Assembler/CMakeLists.txt +++ b/Tests/Assembler/CMakeLists.txt @@ -9,7 +9,7 @@ set(SRCS) # and also generate assembler files from C: if("${CMAKE_GENERATOR}" MATCHES "Makefile|Xcode|Ninja" AND NOT CMAKE_OSX_ARCHITECTURES MATCHES ";") - if((CMAKE_C_COMPILER_ID MATCHES "^(GNU|Clang|AppleClang|HP|SunPro|XL)$") OR (CMAKE_C_COMPILER_ID STREQUAL "Intel" AND UNIX) + if((CMAKE_C_COMPILER_ID MATCHES "^(GNU|Clang|AppleClang|HP|SunPro|XL)$") OR (CMAKE_C_COMPILER_ID MATCHES "Intel" AND UNIX) AND NOT (CMAKE_C_COMPILER_ID STREQUAL "Clang" AND "x${CMAKE_C_COMPILER_FRONTEND_VARIANT}" STREQUAL "xMSVC")) set(C_FLAGS "${CMAKE_C_FLAGS}") separate_arguments(C_FLAGS) |