adding CMAKE_INSTALL_PREFIX to install dirs
This commit is contained in:
parent
8a7d1d3fde
commit
d65adcac45
@ -115,12 +115,12 @@ endif()
|
|||||||
|
|
||||||
install(TARGETS nlohmann_json_schema_validator
|
install(TARGETS nlohmann_json_schema_validator
|
||||||
EXPORT ${PROJECT_NAME}Targets
|
EXPORT ${PROJECT_NAME}Targets
|
||||||
LIBRARY DESTINATION lib
|
LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX}/lib
|
||||||
ARCHIVE DESTINATION lib
|
ARCHIVE DESTINATION ${CMAKE_INSTALL_PREFIX}/lib
|
||||||
RUNTIME DESTINATION bin)
|
RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
|
||||||
|
|
||||||
install(FILES src/nlohmann/json-schema.hpp
|
install(FILES src/nlohmann/json-schema.hpp
|
||||||
DESTINATION include/nlohmann)
|
DESTINATION ${CMAKE_INSTALL_PREFIX}/include/nlohmann)
|
||||||
|
|
||||||
if (BUILD_EXAMPLES)
|
if (BUILD_EXAMPLES)
|
||||||
# simple nlohmann_json_schema_validator-executable
|
# simple nlohmann_json_schema_validator-executable
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user