diff --git a/nlohmann_json_schema_validatorConfig.cmake.in b/nlohmann_json_schema_validatorConfig.cmake.in index c47fb16..88960cc 100644 --- a/nlohmann_json_schema_validatorConfig.cmake.in +++ b/nlohmann_json_schema_validatorConfig.cmake.in @@ -1,6 +1,7 @@ @PACKAGE_INIT@ -find_package(nlohmann_json 3.8.0 REQUIRED) +include(CMakeFindDependencyMacro) +find_dependency(nlohmann_json) include("${CMAKE_CURRENT_LIST_DIR}/nlohmann_json_schema_validatorTargets.cmake") check_required_components(