Skip to content

Commit 5b3200f

Browse files
SamVanheerpboettch
authored andcommitted
Use find_dependency in PackageConfig file
#207
1 parent 1b27d5c commit 5b3200f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nlohmann_json_schema_validatorConfig.cmake.in

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
@PACKAGE_INIT@
22

3-
find_package(nlohmann_json 3.8.0 REQUIRED)
3+
include(CMakeFindDependencyMacro)
4+
find_dependency(nlohmann_json)
45

56
include("${CMAKE_CURRENT_LIST_DIR}/nlohmann_json_schema_validatorTargets.cmake")
67
check_required_components(

0 commit comments

Comments
 (0)