mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2024-12-12 10:03:51 +01:00
7 lines
360 B
CMake
7 lines
360 B
CMake
if (TARGET jsoncpp_static)
|
|
add_library(JsonCpp::JsonCpp INTERFACE IMPORTED)
|
|
set_target_properties(JsonCpp::JsonCpp PROPERTIES INTERFACE_LINK_LIBRARIES "jsoncpp_static")
|
|
elseif (TARGET jsoncpp_lib)
|
|
add_library(JsonCpp::JsonCpp INTERFACE IMPORTED)
|
|
set_target_properties(JsonCpp::JsonCpp PROPERTIES INTERFACE_LINK_LIBRARIES "jsoncpp_lib")
|
|
endif () |