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 f4b2b82 commit d85b863Copy full SHA for d85b863
CMakeLists.txt
@@ -37,7 +37,7 @@ if (${CMAKE_CXX_COMPILER_ID} MATCHES "Clang" OR
37
${CMAKE_CXX_COMPILER_ID} STREQUAL "GNU")
38
set(OPT "-O3")
39
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g -Wall -Wextra -pedantic -std=c99 -O3 ${OPT}")
40
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -Wall -Wextra -Woverloaded-virtual -pedantic -std=c++11 -fPIC ${OPT}")
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -Wall -Wextra -Woverloaded-virtual -pedantic -std=c++17 -fPIC ${OPT}")
41
else()
42
# TODO: Windows support.
43
message(FATAL_ERROR "Compiler ${CMAKE_CXX_COMPILER_ID} not supported")
0 commit comments