diff options
author | Brad King <brad.king@kitware.com> | 2022-03-08 16:55:16 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-03-08 16:55:16 (GMT) |
commit | 3f737ba2ece7c7fb9f0d2d6f86acf1b71376a9ba (patch) | |
tree | 2de083baf1f1c7845d0ababd1f3e5a33c1deddcb /Modules | |
parent | 5424bf5c8aa26d04d5c549a3dd914bc877f85229 (diff) | |
parent | 73d0d4e4b5dd937dcc913a94a6ebac3085a01896 (diff) | |
download | CMake-3f737ba2ece7c7fb9f0d2d6f86acf1b71376a9ba.zip CMake-3f737ba2ece7c7fb9f0d2d6f86acf1b71376a9ba.tar.gz CMake-3f737ba2ece7c7fb9f0d2d6f86acf1b71376a9ba.tar.bz2 |
Merge branch 'binutils-llvm-mt' into release-3.22
Merge-request: !7054
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/CMakeFindBinUtils.cmake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/CMakeFindBinUtils.cmake b/Modules/CMakeFindBinUtils.cmake index 6dbe626..16d3106 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") |