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.
|
- # Interface Library ###############################################################################
-
- Set ( NLOHMANN_JSON_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../include )
- Add_Library ( nlohmann_json INTERFACE )
- Target_Include_Directories ( nlohmann_json
- INTERFACE
- $<BUILD_INTERFACE:${NLOHMANN_JSON_INCLUDE_DIR}>
- $<INSTALL_INTERFACE:${NLOHMANN_JSON_INSTALL_DIR_INCLUDE}> )
-
- # Install #########################################################################################
-
- # Header
- Install ( DIRECTORY ${NLOHMANN_JSON_INCLUDE_DIR}/nlohman
- DESTINATION ${NLOHMANN_JSON_INSTALL_DIR_INCLUDE} )
- Install ( TARGETS nlohmann_json
- EXPORT nlohmann_json
- DESTINATION ${NLOHMANN_JSON_INSTALL_DIR_INCLUDE} )
|