diff options
author | Brad King <brad.king@kitware.com> | 2021-02-18 13:19:39 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2021-02-18 13:19:45 (GMT) |
commit | 94408da2a73a60e0b384c8066ff8200dadaa1bdf (patch) | |
tree | 6eeb46b41b760a074a68623c4b86c3f6ab3078fc /Modules | |
parent | eefcf2e0a6ed07fd288314d91eaa4a96d9da6ec8 (diff) | |
parent | dc7b6c2c0658b5776ce6d4cdece19ce13eb2e9ae (diff) | |
download | CMake-94408da2a73a60e0b384c8066ff8200dadaa1bdf.zip CMake-94408da2a73a60e0b384c8066ff8200dadaa1bdf.tar.gz CMake-94408da2a73a60e0b384c8066ff8200dadaa1bdf.tar.bz2 |
Merge topic 'fix-intel-compiler-check' into release-3.20
dc7b6c2c06 DetermineCompiler: Fix copy-paste error in Intel Compiler detection
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5818
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/CMakeDetermineCCompiler.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeDetermineCCompiler.cmake b/Modules/CMakeDetermineCCompiler.cmake index 59c0574..cd07ba9 100644 --- a/Modules/CMakeDetermineCCompiler.cmake +++ b/Modules/CMakeDetermineCCompiler.cmake @@ -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() |