From 84243a96f76db58c9296f6c4eb7af947b248d910 Mon Sep 17 00:00:00 2001 From: Gene Hightower Date: Fri, 11 Nov 2022 09:17:26 -0800 Subject: [PATCH] require more Modern C++, c++17 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9379b1b..ad6daf9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -37,7 +37,7 @@ target_include_directories(nlohmann_json_schema_validator target_compile_features(nlohmann_json_schema_validator PUBLIC - cxx_range_for) # for C++11 - flags + cxx_std+17) # for C++17 - flags, "Modern" C++ set_target_properties(nlohmann_json_schema_validator PROPERTIES