Commit dc7b6c2c authored by Gregor Jasny's avatar Gregor Jasny
Browse files

DetermineCompiler: Fix copy-paste error in Intel Compiler detection

Fixes: #21561
Fixes: a90d2a9e (IntelLLVM: Add support for Intel LLVM-based compilers, 2020-11-02)
parent 50fc9d5b
Pipeline #214630 passed with stages
in 86 minutes and 40 seconds
......@@ -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()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment