From 74a840309026949731dd8a808863753733cab6ff Mon Sep 17 00:00:00 2001 From: Marco Biasini <marco.biasini@unibas.ch> Date: Thu, 28 Oct 2010 16:52:58 +0200 Subject: [PATCH] disable visibility hidden. It's causing tons of weird errors --- CMakeLists.txt | 3 --- 1 file changed, 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9410ed5fc..b349ffa27 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -183,9 +183,6 @@ if (CMAKE_COMPILER_IS_GNUCXX) # -fno-strict-aliasing set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-strict-aliasing") endif() - if (APPLE AND NOT _GCC_VERSION MATCHES "42") - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility=hidden") - endif() endif() set(CMAKE_LIBRARY_OUTPUT_DIRECTORY) -- GitLab