mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-09 01:09:30 -05:00
Build: Use imported target kwiml::kwiml instead of variables
This commit is contained in:
@@ -21,5 +21,5 @@ include_directories(
|
||||
)
|
||||
|
||||
add_library(cmjsoncpp ${JSONCPP_SOURCES})
|
||||
target_link_libraries(cmjsoncpp ${CMake_KWIML_LIBRARIES})
|
||||
target_link_libraries(cmjsoncpp $<TARGET_NAME_IF_EXISTS:kwiml::kwiml>)
|
||||
set_property(TARGET cmjsoncpp PROPERTY CXX_INCLUDE_WHAT_YOU_USE "")
|
||||
|
||||
Reference in New Issue
Block a user