mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +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.
11 lines
267 B
CMake
11 lines
267 B
CMake
add_swift_host_library(swiftMarkup STATIC
|
|
AST.cpp
|
|
LineList.cpp
|
|
Markup.cpp)
|
|
target_link_libraries(swiftMarkup PRIVATE
|
|
libcmark_static)
|
|
target_compile_definitions(swiftMarkup
|
|
PRIVATE
|
|
CMARK_STATIC_DEFINE)
|
|
|