summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-03-08 16:54:58 (GMT)
committerBrad King <brad.king@kitware.com>2022-03-08 16:54:58 (GMT)
commit33ed5b97feee6f14571191d8216a60e09b589b8e (patch)
treef2056ffe1eee89aaa09eaab0638c46ba015c9d18
parent78ae759e01a736d212c97d4ecc00215648513329 (diff)
parent73d0d4e4b5dd937dcc913a94a6ebac3085a01896 (diff)
downloadCMake-33ed5b97feee6f14571191d8216a60e09b589b8e.zip
CMake-33ed5b97feee6f14571191d8216a60e09b589b8e.tar.gz
CMake-33ed5b97feee6f14571191d8216a60e09b589b8e.tar.bz2
Merge branch 'binutils-llvm-mt' into release-3.21
Merge-request: !7054
-rw-r--r--Modules/CMakeFindBinUtils.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/CMakeFindBinUtils.cmake b/Modules/CMakeFindBinUtils.cmake
index ba7c405..01cb161 100644
--- a/Modules/CMakeFindBinUtils.cmake
+++ b/Modules/CMakeFindBinUtils.cmake
@@ -82,7 +82,8 @@ if(("x${CMAKE_${_CMAKE_PROCESSING_LANGUAGE}_SIMULATE_ID}" STREQUAL "xMSVC" AND
if("x${CMAKE_${_CMAKE_PROCESSING_LANGUAGE}_COMPILER_ID}" STREQUAL "xClang")
set(_CMAKE_NM_NAMES "llvm-nm" "nm")
list(PREPEND _CMAKE_AR_NAMES "llvm-lib")
- list(PREPEND _CMAKE_MT_NAMES "llvm-mt")
+ # llvm-mt does not support all flags we need in vs_link_exe
+ # 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}" STREQUAL "xIntel")