Files
swift-mirror/lib/Markup/CMakeLists.txt
Saleem Abdulrasool 9934532e07 cmake: switch host libraries to use target_link_libraries
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.
2019-02-22 15:28:07 -08:00

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)