summaryrefslogtreecommitdiff
path: root/cmake/loop-darwin.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/loop-darwin.cmake')
-rw-r--r--cmake/loop-darwin.cmake2
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