fix travis config

This commit is contained in:
Thomas Fussell 2015-10-26 17:03:03 -04:00
parent 1d54217c5a
commit db1493ccd3

View File

@ -9,7 +9,7 @@ endif(APPLE)
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS 3.5)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++1y")
else
else()
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14")
endif()
elseif("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")