Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
Removal of making symbols hidden by default.
Browse files Browse the repository at this point in the history
  • Loading branch information
Timothy Banks committed Jan 6, 2021
1 parent 0ab4174 commit 7f40272
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 7f40272

Please sign in to comment.