diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2016-11-21 16:43:22 +0100 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2016-11-22 15:54:26 +0100 |
commit | bf7ab7ba2b1ca952a62cef12d578795a332a12cd (patch) | |
tree | 4e4d30edb621be09af1aeeaf3dabb706e06f0525 /cmake/loop-darwin.cmake | |
parent | dff218c30e6628eb0fb9bd0023c05cceb16132cd (diff) | |
download | qtlocation-mapboxgl-bf7ab7ba2b1ca952a62cef12d578795a332a12cd.tar.gz |
[build] reduce framework size for Release builds on macOS
Diffstat (limited to 'cmake/loop-darwin.cmake')
-rw-r--r-- | cmake/loop-darwin.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/loop-darwin.cmake b/cmake/loop-darwin.cmake index 16bc62537c..7884c80a69 100644 --- a/cmake/loop-darwin.cmake +++ b/cmake/loop-darwin.cmake @@ -4,6 +4,8 @@ add_library(mbgl-loop STATIC platform/darwin/src/timer.cpp ) +set_xcode_property(mbgl-loop GCC_SYMBOLS_PRIVATE_EXTERN YES) + target_compile_options(mbgl-loop PRIVATE -fPIC PRIVATE -fvisibility-inlines-hidden |