diff --git a/CMakeLists.txt b/CMakeLists.txt index f6395bb..6bd0826 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -162,8 +162,12 @@ if(JSON_VALIDATOR_INSTALL) ARCHIVE DESTINATION lib RUNTIME DESTINATION bin) - install(FILES src/nlohmann/json-schema.hpp - DESTINATION include/nlohmann) + install(FILES + src/nlohmann/json-schema.hpp + src/nlohmann/json-schema-decl.hpp + ${LIB_VERSION_HPP_FILE} + DESTINATION + include/nlohmann) endif() if (BUILD_EXAMPLES)