File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -12,13 +12,13 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
1212
1313### Configure the compiler
1414
15- # NOTE: Polyscope itself uses C++11, but the tests use C++14 because googletest requires it.
15+ # NOTE: Polyscope itself uses C++11, but the tests use C++17 because googletest requires it.
1616
1717if ("${CMAKE_CXX_COMPILER_ID} " MATCHES "Clang" OR "${CMAKE_CXX_COMPILER_ID} " STREQUAL "GNU" )
1818
1919 # using Clang (linux or apple) or GCC
2020 message ("Using clang/gcc compiler flags" )
21- SET (BASE_CXX_FLAGS "-std=c++14 -Wall -Wextra -g3" ) # use C++14 for tests only
21+ SET (BASE_CXX_FLAGS "-std=c++17 -Wall -Wextra -g3" ) # use C++17 for tests only
2222 SET (DISABLED_WARNINGS " -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wno-deprecated-declarations -Wno-missing-braces -Wno-unused-private-field" )
2323 SET (TRACE_INCLUDES " -H -Wno-error=unused-command-line-argument" )
2424
You can’t perform that action at this time.
0 commit comments