mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
This is a follow up to the discussion on #22740 to switch the host libraries to use the `target_link_libraries` rather than the `LINK_LIBRARIES` special handling. This allows the dependency to be properly tracked by CMake and allows us to use the more modern syntax.
7 lines
173 B
CMake
7 lines
173 B
CMake
add_swift_host_library(swiftSyntaxParse STATIC
|
|
RawSyntaxTokenCache.cpp
|
|
SyntaxTreeCreator.cpp)
|
|
target_link_libraries(swiftSyntaxParse PRIVATE
|
|
swiftParse
|
|
swiftSyntax)
|