We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 371c47f commit d530bddCopy full SHA for d530bdd
CMakeLists.txt
@@ -40,9 +40,9 @@ foreach(pold "") # Currently Empty
40
endif()
41
endforeach()
42
43
-# Build the library with C++11 standard support, independent from other including
+# Build the library with C++20 standard support, independent from other including
44
# software which may use a different CXX_STANDARD or CMAKE_CXX_STANDARD.
45
-set(CMAKE_CXX_STANDARD 11)
+set(CMAKE_CXX_STANDARD 20)
46
set(CMAKE_CXX_EXTENSIONS OFF)
47
set(CMAKE_CXX_STANDARD_REQUIRED ON)
48
include/json/value.h
@@ -39,7 +39,9 @@
39
#endif
+#if __cplusplus >= 201703L
#define JSONCPP_HAS_STRING_VIEW 1
+#endif
#include <array>
#include <exception>
0 commit comments