Use find_dependency in PackageConfig file

pboettch/json-schema-validator#207
This commit is contained in:
Sam V 2022-09-06 20:02:45 +02:00 committed by Patrick Boettcher
parent 1b27d5cf01
commit 5b3200f839

View File

@ -1,6 +1,7 @@
@PACKAGE_INIT@ @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") include("${CMAKE_CURRENT_LIST_DIR}/nlohmann_json_schema_validatorTargets.cmake")
check_required_components( check_required_components(