Skip to content

Commit b18ff1c

Browse files
committed
Set unit tests to C++14
1 parent 7d67dda commit b18ff1c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

UNITTESTS/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ project(${PROJECT_NAME})
99
macro(use_cxx14)
1010
if (CMAKE_VERSION VERSION_LESS 3.1)
1111
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
12-
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++98")
12+
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++14")
1313
endif()
1414
else()
15-
set(CMAKE_CXX_STANDARD 98)
15+
set(CMAKE_CXX_STANDARD 14)
1616
set(CMAKE_CXX_STANDARD_REQUIRED ON)
1717
endif()
1818
endmacro()

0 commit comments

Comments
 (0)