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.
10 lines
257 B
CMake
10 lines
257 B
CMake
add_swift_host_tool(swift-refactor
|
|
swift-refactor.cpp
|
|
SWIFT_COMPONENT tools
|
|
)
|
|
target_link_libraries(swift-refactor
|
|
PRIVATE
|
|
swiftDriver
|
|
swiftFrontend
|
|
swiftIDE)
|