mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-24 07:28:54 -06:00
Extend commit 96a953b1ed (Add options to specify linker tool, 2023-09-27,
v3.29.0-rc1~577^2) with the `CMAKE_Swift_USING_LINKER_*` variables
needed to support `CMAKE_LINKER_TYPE` for Swift.
6 lines
228 B
CMake
6 lines
228 B
CMake
# Linker Selection
|
|
# BFD is known to mislink Swift objects resulting in missing type info
|
|
set(CMAKE_Swift_USING_LINKER_SYSTEM "")
|
|
set(CMAKE_Swift_USING_LINKER_GOLD "-use-ld=gold")
|
|
set(CMAKE_Swift_USING_LINKER_LLD "-use-ld=lld")
|