mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2024-12-12 10:03:51 +01:00
17 lines
348 B
CMake
17 lines
348 B
CMake
cmake_policy(PUSH)
|
|
cmake_policy(VERSION 3.0)
|
|
|
|
@PACKAGE_INIT@
|
|
|
|
include ( "${CMAKE_CURRENT_LIST_DIR}/jsoncpp-targets.cmake" )
|
|
|
|
if(TARGET jsoncpp_static)
|
|
add_library(JsonCpp::JsonCpp ALIAS jsoncpp_static)
|
|
elseif(TARGET jsoncpp_lib)
|
|
add_library(JsonCpp::JsonCpp ALIAS jsoncpp_lib)
|
|
endif()
|
|
|
|
check_required_components(JsonCpp)
|
|
|
|
cmake_policy(POP)
|