init repo.
This commit is contained in:
7
third_party/jsoncpp/jsoncpp-namespaced-targets.cmake
vendored
Normal file
7
third_party/jsoncpp/jsoncpp-namespaced-targets.cmake
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
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 ()
|
Reference in New Issue
Block a user