summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-09-15 13:07:44 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-09-15 13:07:51 (GMT)
commitc3522accd5ee7f6c678818c79fc29da444f763e6 (patch)
treedc54a91da75d46255ae9b81c5db16e82213a8680
parentb178311c639131eb94d2d65f57572d0afee9ecf8 (diff)
parenta54e25b547989cb790bde61f9dfbb6775e8feb87 (diff)
downloadCMake-c3522accd5ee7f6c678818c79fc29da444f763e6.zip
CMake-c3522accd5ee7f6c678818c79fc29da444f763e6.tar.gz
CMake-c3522accd5ee7f6c678818c79fc29da444f763e6.tar.bz2
Merge topic 'binutils-apple-no-lld'
a54e25b547 BinUtils: Avoid the 'ld.lld' ELF linker on Apple platforms Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7671
-rw-r--r--Modules/CMakeFindBinUtils.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeFindBinUtils.cmake b/Modules/CMakeFindBinUtils.cmake
index a6bd0d1..2ac8879 100644
--- a/Modules/CMakeFindBinUtils.cmake
+++ b/Modules/CMakeFindBinUtils.cmake
@@ -170,7 +170,7 @@ else()
if("${CMAKE_${_CMAKE_PROCESSING_LANGUAGE}_COMPILER_ID}" STREQUAL Clang)
if("x${CMAKE_${_CMAKE_PROCESSING_LANGUAGE}_SIMULATE_ID}" STREQUAL "xMSVC")
list(PREPEND _CMAKE_LINKER_NAMES "lld-link")
- else()
+ elseif(NOT APPLE)
list(PREPEND _CMAKE_LINKER_NAMES "ld.lld")
endif()
if(APPLE)