From 8c45076ad3e4060ccdf9af690cb33c0ed49a4caa Mon Sep 17 00:00:00 2001 From: Thomas Fussell Date: Fri, 20 Nov 2015 21:35:50 -0500 Subject: [PATCH] try c++14 on for travis --- cmake/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt index 1b6beb8e..96f98999 100644 --- a/cmake/CMakeLists.txt +++ b/cmake/CMakeLists.txt @@ -23,7 +23,7 @@ if(${CMAKE_CXX_COMPILER_ID} STREQUAL "Clang") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14") endif() elseif(${CMAKE_CXX_COMPILER_ID} STREQUAL "GNU") - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++1y") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14") elseif(${CMAKE_CXX_COMPILER_ID} STREQUAL "MSVC") add_definitions(-DUNICODE -D_UNICODE) endif()