diff --git a/CMakeLists.txt b/CMakeLists.txt index c03cd653..c2605ed6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -117,7 +117,7 @@ else() endif() include(ExtractValidFlags) -foreach(_cxx1x_flag -std=c++11 -std=c++0x) +foreach(_cxx1x_flag -std=c++14) extract_valid_cxx_flags(_cxx1x_flag_supported ${_cxx1x_flag}) if(_cxx1x_flag_supported) set(CXX1XCXXFLAGS ${_cxx1x_flag})