Commit 94408da2 authored by Brad King's avatar Brad King Committed by Kitware Robot
Browse files

Merge topic 'fix-intel-compiler-check' into release-3.20

dc7b6c2c

 DetermineCompiler: Fix copy-paste error in Intel Compiler detection
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !5818
parents eefcf2e0 dc7b6c2c
Pipeline #214854 waiting for manual action with stages
in 4 minutes and 50 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