From 0118776b7e7ebaa3858c3e58368f9586ee73d2f9 Mon Sep 17 00:00:00 2001 From: Jonny Paton Date: Sun, 25 Feb 2018 13:13:52 -0800 Subject: [PATCH] Force correct iOS architecture for cmake --- cmake/toolchains/iOS.toolchain.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/toolchains/iOS.toolchain.cmake b/cmake/toolchains/iOS.toolchain.cmake index 0dbc67df..c0712e00 100644 --- a/cmake/toolchains/iOS.toolchain.cmake +++ b/cmake/toolchains/iOS.toolchain.cmake @@ -180,7 +180,7 @@ elseif (${IOS_PLATFORM} STREQUAL SIMULATOR64) set (IOS_ARCH x86_64) endif (${IOS_PLATFORM} STREQUAL OS) -set (CMAKE_OSX_ARCHITECTURES ${IOS_ARCH} CACHE string "Build architecture for iOS") +set (CMAKE_OSX_ARCHITECTURES ${IOS_ARCH} CACHE string "Build architecture for iOS" FORCE) message (STATUS "iOS arches=${IOS_ARCH}") # Set the find root to the iOS developer roots and to user defined paths