diff options
author | Brad King <brad.king@kitware.com> | 2021-11-11 15:44:57 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2021-11-11 15:45:19 (GMT) |
commit | e2ceaec9916cb11f7190e7d17630c0de036a24a5 (patch) | |
tree | 68a290fc27de1bfb768b12a711c7bb5b10acfc20 /Modules | |
parent | 0b8d69269717a225594d2e0d2bfbd61dbbf04fc9 (diff) | |
parent | 48f29b58053be4edfe4864f5cc6fcfbe6c1000f1 (diff) | |
download | CMake-e2ceaec9916cb11f7190e7d17630c0de036a24a5.zip CMake-e2ceaec9916cb11f7190e7d17630c0de036a24a5.tar.gz CMake-e2ceaec9916cb11f7190e7d17630c0de036a24a5.tar.bz2 |
Merge topic 'IntelLLVM-no-xilink' into release-3.22
48f29b5805 IntelLLVM: Use MSVC linker with MSVC frontend variant
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6719
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/CMakeFindBinUtils.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeFindBinUtils.cmake b/Modules/CMakeFindBinUtils.cmake index 6033ef6..6c81754 100644 --- a/Modules/CMakeFindBinUtils.cmake +++ b/Modules/CMakeFindBinUtils.cmake @@ -85,7 +85,7 @@ if(("x${CMAKE_${_CMAKE_PROCESSING_LANGUAGE}_SIMULATE_ID}" STREQUAL "xMSVC" AND list(PREPEND _CMAKE_MT_NAMES "llvm-mt") list(PREPEND _CMAKE_LINKER_NAMES "lld-link") list(APPEND _CMAKE_TOOL_VARS NM) - elseif("x${CMAKE_${_CMAKE_PROCESSING_LANGUAGE}_COMPILER_ID}" MATCHES "^xIntel") + elseif("x${CMAKE_${_CMAKE_PROCESSING_LANGUAGE}_COMPILER_ID}" STREQUAL "xIntel") list(PREPEND _CMAKE_AR_NAMES "xilib") list(PREPEND _CMAKE_LINKER_NAMES "xilink") endif() |