From 2ca403facaa4eb335698d436ddc5185215d5005e Mon Sep 17 00:00:00 2001 From: Philipp Schubert Date: Tue, 29 Jun 2021 15:01:58 +0200 Subject: [PATCH] remove conditional assignments to JSON_VALIDATOR_INSTALL --- CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index dcb7c68..e572bb6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -59,7 +59,6 @@ if(TARGET nlohmann_json::nlohmann_json) nlohmann_json_schema_validator PUBLIC nlohmann_json::nlohmann_json) - set(JSON_VALIDATOR_INSTALL OFF) set(BUILD_TESTS OFF) set(BUILD_EXAMPLES OFF) @@ -68,7 +67,7 @@ elseif(TARGET nlohmann_json) # or nlohmann_json, we are used a sub-project next target_link_libraries( nlohmann_json_schema_validator PUBLIC nlohmann_json) - set(JSON_VALIDATOR_INSTALL OFF) + set(BUILD_TESTS OFF) set(BUILD_EXAMPLES OFF)