summaryrefslogtreecommitdiff
path: root/platform/ios
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2016-11-21 17:38:09 +0100
committerKonstantin Käfer <mail@kkaefer.com>2016-12-12 18:53:46 +0100
commit6fb24b20823bf97ff42fd52352db7b15026dfe75 (patch)
tree45c43d4768d13b95453c8b991810c3fb618b4836 /platform/ios
parente9f101a52f626744991ee73c3ced9c48bc013a51 (diff)
downloadqtlocation-mapboxgl-6fb24b20823bf97ff42fd52352db7b15026dfe75.tar.gz
[build] only build active architecture for Debug builds on iOS
Diffstat (limited to 'platform/ios')
-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 f9a24964f6..195687fea5 100644
--- a/platform/ios/config.cmake
+++ b/platform/ios/config.cmake
@@ -4,6 +4,7 @@ macro(mbgl_platform_core)
set_xcode_property(mbgl-core IPHONEOS_DEPLOYMENT_TARGET "8.0")
set_xcode_property(mbgl-core ENABLE_BITCODE "YES")
set_xcode_property(mbgl-core BITCODE_GENERATION_MODE bitcode)
+ set_xcode_property(mbgl-core ONLY_ACTIVE_ARCH $<$<CONFIG:Debug>:YES>)
target_sources(mbgl-core
# Loop