From 7f402726ead467b6d7808d804e1d039519bb9990 Mon Sep 17 00:00:00 2001 From: Timothy Banks Date: Wed, 6 Jan 2021 16:40:51 -0500 Subject: [PATCH] Removal of making symbols hidden by default. --- CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 35340f1567f..2b0745dbf4f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -49,8 +49,7 @@ elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang" OR "${CMAKE_CXX_COMPILER_ID} endif() if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "AppleClang") - # set(CMAKE_CXX_VISIBILITY_PRESET hidden) - set(CMAKE_VISIBILITY_INLINES_HIDDEN 1) + set(CMAKE_VISIBILITY_INLINES_HIDDEN ON) endif() if ("${CMAKE_GENERATOR}" STREQUAL "Ninja")