Add init macOS arm build
This commit is contained in:
parent
e651ea7614
commit
5422d3cf2c
3 changed files with 6 additions and 1 deletions
|
|
@ -13,9 +13,14 @@ if(ANDROID)
|
|||
set(QT_ANDROID_BUILD_ALL_ABIS ON)
|
||||
endif()
|
||||
|
||||
# TODO: determine build step for arm64 build, from x86_64 host
|
||||
if(APPLE AND NOT IOS)
|
||||
if(CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "arm64")
|
||||
set(CMAKE_OSX_ARCHITECTURES "arm64")
|
||||
elseif(CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "x86_64")
|
||||
set(CMAKE_OSX_ARCHITECTURES "x86_64")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
add_subdirectory(client)
|
||||
|
||||
|
|
|
|||
BIN
client/3rd/OpenSSL/lib/macos/arm64/libcrypto.a
Normal file
BIN
client/3rd/OpenSSL/lib/macos/arm64/libcrypto.a
Normal file
Binary file not shown.
BIN
client/3rd/OpenSSL/lib/macos/arm64/libssl.a
Normal file
BIN
client/3rd/OpenSSL/lib/macos/arm64/libssl.a
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue