diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 2278e8ed0..5c32d2202 100755 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -34,7 +34,7 @@ if(IS_MSVC) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /W3") elseif(IS_GNU OR IS_CLANG) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall") - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 -Wall") endif() add_subdirectory(base)