diff --git a/CMakeLists.txt b/CMakeLists.txt index 9410ed5fc432c74e1075c10a8a4ddf6de4463aaf..b349ffa27c485d901818dd14ba184824fca0a1a3 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)