Set default visibility as hidden.

This commit is contained in:
2021-10-30 21:33:51 +01:00
parent b45bf9547b
commit e06a4976ee
5 changed files with 10 additions and 2 deletions

2
3rdparty/flac.cmake vendored
View File

@@ -159,4 +159,6 @@ if(CMAKE_BUILD_TYPE STREQUAL Debug OR CMAKE_BUILD_TYPE STREQUAL RelWithDebInfo O
set(DODEFINE_FORTIFY_SOURCE 0)
endif()
set_property(TARGET FLAC PROPERTY C_VISIBILITY_PRESET hidden)
configure_file(flac/config.cmake.h.in flac/config.h)