Skip to content

Commit

Permalink
enh(CMake): Set symbol visibility to hidden (#4393, #3331)
Browse files Browse the repository at this point in the history
  • Loading branch information
matejk committed Jan 13, 2024
1 parent fc65f91 commit 11b7b4f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ endif()
include(CXX1x)
check_for_cxx17_compiler(CXX17_COMPILER)

set(CMAKE_CXX_VISIBILITY_PRESET hidden)

# If a C++17 compiler is available, then set the appropriate flags
if(CXX17_COMPILER)
set(CMAKE_CXX_STANDARD 17)
Expand Down

0 comments on commit 11b7b4f

Please sign in to comment.