summaryrefslogtreecommitdiff
path: root/platform/ios/config.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'platform/ios/config.cmake')
-rw-r--r--platform/ios/config.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/ios/config.cmake b/platform/ios/config.cmake
index 19e8f25fc6..7c6aaab0d0 100644
--- a/platform/ios/config.cmake
+++ b/platform/ios/config.cmake
@@ -6,6 +6,7 @@ macro(mbgl_platform_core)
set_xcode_property(mbgl-core BITCODE_GENERATION_MODE bitcode)
set_xcode_property(mbgl-core ONLY_ACTIVE_ARCH $<$<CONFIG:Debug>:YES>)
set_xcode_property(mbgl-core GCC_SYMBOLS_PRIVATE_EXTERN YES)
+ set_xcode_property(mbgl-core LLVM_LTO $<$<CONFIG:Release>:YES>)
target_sources(mbgl-core
# Loop