CMakeLists.txt - ios/xcode fix

This commit is contained in:
Jaquee 2017-06-23 10:02:07 +02:00
parent ab594cfee9
commit f233c01c8f

View File

@ -392,6 +392,9 @@ else()
set(ARCH_FLAG "")
elseif(PPC64LE)
set(ARCH_FLAG "-mcpu=${ARCH}")
elseif(IOS AND ARCH STREQUAL "arm64")
message(STATUS "IOS: Changing arch from arm64 to armv8")
set(ARCH_FLAG "-march=armv8")
else()
set(ARCH_FLAG "-march=${ARCH}")
endif()