We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b2dcdf commit 3f6acd4Copy full SHA for 3f6acd4
1 file changed
CMakeLists.txt
@@ -57,7 +57,9 @@ endif()
57
unset(isSystemDir)
58
59
# C++ standard
60
-set(CMAKE_CXX_STANDARD 14)
+if(NOT DEFINED CMAKE_CXX_STANDARD)
61
+ set(CMAKE_CXX_STANDARD 17)
62
+endif()
63
64
# Add compiler flags for warnings and (more importantly) fPIC and debug symbols
65
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -pedantic -Wextra")
0 commit comments