summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-11-10 18:43:41 (GMT)
committerBrad King <brad.king@kitware.com>2021-11-10 18:43:41 (GMT)
commitb0ee34373a7c5a58081676dc37bff641ff5652f3 (patch)
tree91ff51e1c79d61ac5043b6d524dcc31c7179c6a5 /Modules
parentd18ba5b2261530c72fb7ac6562dd261d009c9c3f (diff)
parent48f29b58053be4edfe4864f5cc6fcfbe6c1000f1 (diff)
downloadCMake-b0ee34373a7c5a58081676dc37bff641ff5652f3.zip
CMake-b0ee34373a7c5a58081676dc37bff641ff5652f3.tar.gz
CMake-b0ee34373a7c5a58081676dc37bff641ff5652f3.tar.bz2
Merge branch 'IntelLLVM-no-xilink' into release-3.21
Merge-request: !6719
Diffstat (limited to 'Modules')
-rw-r--r--Modules/CMakeFindBinUtils.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeFindBinUtils.cmake b/Modules/CMakeFindBinUtils.cmake
index 8e9237a..f3c2345 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()