CMakeLists.txt - ios/xcode fix
This commit is contained in:
parent
ab594cfee9
commit
f233c01c8f
1 changed files with 3 additions and 0 deletions
|
@ -392,6 +392,9 @@ else()
|
||||||
set(ARCH_FLAG "")
|
set(ARCH_FLAG "")
|
||||||
elseif(PPC64LE)
|
elseif(PPC64LE)
|
||||||
set(ARCH_FLAG "-mcpu=${ARCH}")
|
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()
|
else()
|
||||||
set(ARCH_FLAG "-march=${ARCH}")
|
set(ARCH_FLAG "-march=${ARCH}")
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in a new issue