From 6fb24b20823bf97ff42fd52352db7b15026dfe75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20K=C3=A4fer?= Date: Mon, 21 Nov 2016 17:38:09 +0100 Subject: [build] only build active architecture for Debug builds on iOS --- platform/ios/config.cmake | 1 + 1 file changed, 1 insertion(+) 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 $<$:YES>) target_sources(mbgl-core # Loop -- cgit v1.2.1