mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2024-12-12 10:03:51 +01:00
b640795571
CMake provides helpers to generate config file. Generated config file has usefull macro check_required_components() to set necessary variables like PackageName_FOUND if requirements has been satisfied. An absence of dedicated config file confuses user project as necessary variables are not set.
10 lines
178 B
CMake
10 lines
178 B
CMake
cmake_policy(PUSH)
|
|
cmake_policy(VERSION 3.0)
|
|
|
|
@PACKAGE_INIT@
|
|
|
|
include ( "${CMAKE_CURRENT_LIST_DIR}/jsoncpp-targets.cmake" )
|
|
|
|
check_required_components(JsonCpp)
|
|
|
|
cmake_policy(POP) |