You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

7 line
360B

  1. if (TARGET jsoncpp_static)
  2. add_library(JsonCpp::JsonCpp INTERFACE IMPORTED)
  3. set_target_properties(JsonCpp::JsonCpp PROPERTIES INTERFACE_LINK_LIBRARIES "jsoncpp_static")
  4. elseif (TARGET jsoncpp_lib)
  5. add_library(JsonCpp::JsonCpp INTERFACE IMPORTED)
  6. set_target_properties(JsonCpp::JsonCpp PROPERTIES INTERFACE_LINK_LIBRARIES "jsoncpp_lib")
  7. endif ()