Enabled C++11 support
authorIngo Ruhnke <grumbel@gmail.com>
Sun, 3 Aug 2014 16:29:46 +0000 (18:29 +0200)
committerIngo Ruhnke <grumbel@gmail.com>
Sun, 3 Aug 2014 18:57:20 +0000 (20:57 +0200)
CMakeLists.txt

index 676d2a4..08f8137 100644 (file)
@@ -227,6 +227,7 @@ ENDIF(COMPILE_AMALGATION)
 OPTION(WERROR "Stop on first compiler warning" OFF)
 OPTION(WARNINGS "Enable long list of warnings for compiler to check" OFF)
 IF(CMAKE_COMPILER_IS_GNUCC)
+  SET(CMAKE_CXX_FLAGS "-std=c++0x")
   SET(CMAKE_CXX_FLAGS_DEBUG "-O0 -g" CACHE STRING "Debug flags")
   SET(CMAKE_C_FLAGS_DEBUG "-O0 -g" CACHE STRING "Debug flags")
   SET(CMAKE_CXX_FLAGS_PROFILE "-pg" CACHE STRING "Profile flags")