diff options
author | Alex Turbov <i.zaufi@gmail.com> | 2022-08-21 05:40:57 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-09-22 14:21:39 (GMT) |
commit | df8ad72ffa7c193638a7a086284bc455cccc5b5f (patch) | |
tree | b7648c79941d7e0935395fc51aa8266b13e48dbc /Utilities/cmjsoncpp | |
parent | eeebf31e54a04eee7a2a91bf80fce5a8fbae7e67 (diff) | |
download | CMake-df8ad72ffa7c193638a7a086284bc455cccc5b5f.zip CMake-df8ad72ffa7c193638a7a086284bc455cccc5b5f.tar.gz CMake-df8ad72ffa7c193638a7a086284bc455cccc5b5f.tar.bz2 |
Build: Use imported target `kwiml::kwiml` instead of variables
Diffstat (limited to 'Utilities/cmjsoncpp')
-rw-r--r-- | Utilities/cmjsoncpp/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/cmjsoncpp/CMakeLists.txt b/Utilities/cmjsoncpp/CMakeLists.txt index c384f4e..09579d2 100644 --- a/Utilities/cmjsoncpp/CMakeLists.txt +++ b/Utilities/cmjsoncpp/CMakeLists.txt @@ -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 "") |