add c++ compiler option

This commit is contained in:
Bastian Bloessl
2013-06-01 18:27:56 +02:00
parent 4d79c83167
commit 0ee514b41d
+1
View File
@@ -40,6 +40,7 @@ list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/Modules)
if(CMAKE_COMPILER_IS_GNUCXX AND NOT WIN32) if(CMAKE_COMPILER_IS_GNUCXX AND NOT WIN32)
#http://gcc.gnu.org/wiki/Visibility #http://gcc.gnu.org/wiki/Visibility
add_definitions(-fvisibility=hidden) add_definitions(-fvisibility=hidden)
add_definitions(-std=c++0x)
endif() endif()
######################################################################## ########################################################################