whoops, this should be c++11. thanks bska

This commit is contained in:
Arne Morten Kvarving 2018-01-04 14:43:53 +01:00
parent e7a98b5e90
commit 93f97edebf

View File

@ -8,7 +8,7 @@ if(CXX_FLAG_CXX14)
set(CXX_STD14_FLAGS "-std=c++14")
else()
check_cxx_accepts_flag("-std=c++11" CXX_FLAG_CXX11)
if(CXX_FLAG_CXX14)
if(CXX_FLAG_CXX11)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
set(CXX_STD11_FLAGS "-std=c++11")
else()