mirror of
https://github.com/mapnik/mapnik.git
synced 2025-12-08 20:13:09 +00:00
Add -fvisibility=hidden -fvisibility-inlines-hidden to mapnik target (CMake)
This commit is contained in:
parent
accb28eb80
commit
87ac079bb6
@ -44,6 +44,8 @@ endif()
|
||||
|
||||
set_target_properties(mapnik PROPERTIES
|
||||
POSITION_INDEPENDENT_CODE ON
|
||||
CXX_VISIBILITY_PRESET hidden
|
||||
VISIBILITY_INLINES_HIDDEN ON
|
||||
OUTPUT_NAME "mapnik"
|
||||
PREFIX "lib"
|
||||
IMPORT_PREFIX "lib" # for the archive on dll platforms
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user