Use find_dependency in PackageConfig file
pboettch/json-schema-validator#207
This commit is contained in:
parent
1b27d5cf01
commit
5b3200f839
@ -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(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user