Add arm64e support (#307)

This commit is contained in:
mobileben 2019-03-14 21:10:58 -07:00 committed by Kjell Hedström
parent cb4a94da7d
commit bc358e7436
2 changed files with 2 additions and 2 deletions

View File

@ -168,7 +168,7 @@ set (CMAKE_OSX_SYSROOT ${CMAKE_IOS_SDK_ROOT} CACHE PATH "Sysroot used for iOS su
# set the architecture for iOS # set the architecture for iOS
if (${IOS_PLATFORM} STREQUAL "OS") if (${IOS_PLATFORM} STREQUAL "OS")
set (IOS_ARCH armv7 armv7s arm64) set (IOS_ARCH armv7 armv7s arm64 arm64e)
elseif (${IOS_PLATFORM} STREQUAL "SIMULATOR") elseif (${IOS_PLATFORM} STREQUAL "SIMULATOR")
set (IOS_ARCH i386) set (IOS_ARCH i386)
elseif (${IOS_PLATFORM} STREQUAL "SIMULATOR64") elseif (${IOS_PLATFORM} STREQUAL "SIMULATOR64")

View File

@ -92,7 +92,7 @@ if(G3_IOS_LIB)
COMMAND ${CMAKE_COMMAND} COMMAND ${CMAKE_COMMAND}
--build ${ARM_BINARY_DIR} --build ${ARM_BINARY_DIR}
--config ${CMAKE_BUILD_TYPE} --config ${CMAKE_BUILD_TYPE}
COMMENT "Building for armv7, armv7s, arm64" COMMENT "Building for armv7, armv7s, arm64, arm64e"
VERBATIM VERBATIM
) )