Add -fvisibility=hidden -fvisibility-inlines-hidden
to mapnik target (CMake)
This commit is contained in:
parent
accb28eb80
commit
87ac079bb6
1 changed files with 2 additions and 0 deletions
|
@ -44,6 +44,8 @@ endif()
|
||||||
|
|
||||||
set_target_properties(mapnik PROPERTIES
|
set_target_properties(mapnik PROPERTIES
|
||||||
POSITION_INDEPENDENT_CODE ON
|
POSITION_INDEPENDENT_CODE ON
|
||||||
|
CXX_VISIBILITY_PRESET hidden
|
||||||
|
VISIBILITY_INLINES_HIDDEN ON
|
||||||
OUTPUT_NAME "mapnik"
|
OUTPUT_NAME "mapnik"
|
||||||
PREFIX "lib"
|
PREFIX "lib"
|
||||||
IMPORT_PREFIX "lib" # for the archive on dll platforms
|
IMPORT_PREFIX "lib" # for the archive on dll platforms
|
||||||
|
|
Loading…
Reference in a new issue