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 "")
|
||||
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()
|
||||
|
|
Loading…
Reference in a new issue