mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2025-10-03 09:53:46 -04:00
parent
69098a18b9
commit
12d9382030
@ -1,7 +1,7 @@
|
||||
if (TARGET jsoncpp_static)
|
||||
if (TARGET jsoncpp_static AND NOT TARGET JsonCpp::JsonCpp)
|
||||
add_library(JsonCpp::JsonCpp INTERFACE IMPORTED)
|
||||
set_target_properties(JsonCpp::JsonCpp PROPERTIES INTERFACE_LINK_LIBRARIES "jsoncpp_static")
|
||||
elseif (TARGET jsoncpp_lib)
|
||||
elseif (TARGET jsoncpp_lib AND NOT TARGET JsonCpp::JsonCpp)
|
||||
add_library(JsonCpp::JsonCpp INTERFACE IMPORTED)
|
||||
set_target_properties(JsonCpp::JsonCpp PROPERTIES INTERFACE_LINK_LIBRARIES "jsoncpp_lib")
|
||||
endif ()
|
Loading…
x
Reference in New Issue
Block a user