diff --git a/CMakeLists.txt b/CMakeLists.txt index 47c667dd5c5879a51d4ee9f646dd9f8f0ce8dbd1..783a6bb31977ecd823ee44370397f68d58cffda4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -49,6 +49,7 @@ if(CMAKE_COMPILER_IS_GNUCXX) FORCE) set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -g -fno-omit-frame-pointer" CACHE STRING "Flags used by the CXX compiler during relwithdebiginfo builds" FORCE) + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x") endif(NOT CONFIGURED) endif(CMAKE_COMPILER_IS_GNUCXX)