[build] only build active architecture for Debug builds on iOS

This commit is contained in:
Konstantin Käfer
2016-11-21 17:38:09 +01:00
parent e9f101a52f
commit 6fb24b2082

View File

@@ -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