mirror of
https://github.com/taglib/taglib.git
synced 2025-09-26 14:45:11 -04:00
Apply VISIBILITY_HIDDEN also to C++ files
It was only used for C files, thereby making symbols of internal classes like TagUnion visible.
This commit is contained in:
@ -362,6 +362,7 @@ set_target_properties(tag PROPERTIES
|
||||
)
|
||||
if(VISIBILITY_HIDDEN)
|
||||
set_target_properties(tag PROPERTIES C_VISIBILITY_PRESET hidden)
|
||||
set_target_properties(tag PROPERTIES CXX_VISIBILITY_PRESET hidden)
|
||||
endif()
|
||||
|
||||
if(BUILD_FRAMEWORK)
|
||||
|
Reference in New Issue
Block a user