From 0ee514b41d50b38135a6ba4542380eb1ac527dd5 Mon Sep 17 00:00:00 2001 From: Bastian Bloessl Date: Sat, 1 Jun 2013 18:27:56 +0200 Subject: [PATCH] add c++ compiler option --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index ab6f084..42508a6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -40,6 +40,7 @@ list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/Modules) if(CMAKE_COMPILER_IS_GNUCXX AND NOT WIN32) #http://gcc.gnu.org/wiki/Visibility add_definitions(-fvisibility=hidden) + add_definitions(-std=c++0x) endif() ########################################################################