From d08a08acb31012adb837291fa0ecb81b2b66d35f Mon Sep 17 00:00:00 2001 From: hagen Date: Wed, 17 Sep 2014 03:30:12 +0000 Subject: [PATCH] * fix -std= option for gcc --- build/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/CMakeLists.txt b/build/CMakeLists.txt index 4fba7532..a45117a5 100644 --- a/build/CMakeLists.txt +++ b/build/CMakeLists.txt @@ -59,7 +59,7 @@ endif () # compiler flags customization (by vendor) add_definitions ( "-Wall -Wextra" ) if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU") - add_definitions( "-std=c++0x" ) + add_definitions( "-std=c++11" ) if (WITH_HARDENING) add_definitions( "-D_FORTIFY_SOURCE=2" ) set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wformat -Wformat-security -Werror=format-security" )