mirror of
https://github.com/nlohmann/json.git
synced 2024-12-01 11:39:03 +08:00
f434942371
The rewrite uses more cmake build-in automatisms and build-in generates variables to allow better generic reuse. * cmake files are installed to ``` <install_prefix>/lib/cmake/nlohmann_json/ ``` for best support on most systems * include path is set to ``` include ``` for usage as ``` #include <nlohmann/json.hpp> ```
4 lines
138 B
CMake
4 lines
138 B
CMake
@PACKAGE_INIT@
|
|
include("${CMAKE_CURRENT_LIST_DIR}/@NLOHMANN_JSON_TARGETS_EXPORT_NAME@.cmake")
|
|
check_required_components("@PROJECT_NAME@")
|