mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Rather than using the `LINK_LIBRARIES` option, use target_link_libraries like clang does. Because these are all host tools, there is no name mangling done for the libraries making this a no-op change.
14 lines
448 B
CMake
14 lines
448 B
CMake
add_swift_host_tool(sil-llvm-gen
|
|
SILLLVMGen.cpp
|
|
SWIFT_COMPONENT tools
|
|
)
|
|
target_link_libraries(sil-llvm-gen
|
|
PRIVATE
|
|
swiftFrontend
|
|
swiftIRGen
|
|
swiftSILGen
|
|
swiftSILOptimizer
|
|
# Clang libraries included to appease the linker on linux.
|
|
clangBasic
|
|
clangCodeGen)
|