Gary Talent
7eef3bf154
git-subtree-dir: deps/ox/deps/jsoncpp git-subtree-split: 5defb4ed1a4293b8e2bf641e16b156fb9de498cc
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 () |