Create an install target for the project
- define the project's version in the cmake listfile - create a config and config version file for the cmake package - install the json.hpp file and the package's targets, config and config version files
This commit is contained in:
parent
30e396043a
commit
b1a2e9a715
2 changed files with 39 additions and 2 deletions
6
cmake/config.cmake.in
Normal file
6
cmake/config.cmake.in
Normal file
|
@ -0,0 +1,6 @@
|
|||
@PACKAGE_INIT@
|
||||
|
||||
cmake_policy(PUSH)
|
||||
cmake_policy(SET CMP0024 OLD)
|
||||
include(${CMAKE_CURRENT_LIST_DIR}/@JSON_TARGETS_FILENAME@)
|
||||
cmake_policy(POP)
|
Loading…
Add table
Add a link
Reference in a new issue