mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-03 04:03:23 +03:00
DetermineCompiler: Fix copy-paste error in Intel Compiler detection
Fixes: #21561
Fixes: a90d2a9eed (IntelLLVM: Add support for Intel LLVM-based compilers, 2020-11-02)
This commit is contained in:
1 parent
50fc9d5b45
commit
dc7b6c2c06
1 file changed
+1
-1
@@ -135,7 +135,7 @@ else()
|
||||
# They pre-date our support for the GNU-like variant targeting the
|
||||
# MSVC ABI so we do not consider that here.
|
||||
if(CMAKE_C_COMPILER_ID STREQUAL "Clang"
|
||||
OR "x${CMAKE_${lang}_COMPILER_ID" STREQUAL "xIntelLLVM")
|
||||
OR "x${CMAKE_C_COMPILER_ID}" STREQUAL "xIntelLLVM")
|
||||
if("x${CMAKE_C_SIMULATE_ID}" STREQUAL "xMSVC")
|
||||
set(CMAKE_C_COMPILER_FRONTEND_VARIANT "MSVC")
|
||||
else()
|
||||
|
||||
Reference in new issue
Block a user