Compare commits

...
Sign in to create a new pull request.

1 commit

Author SHA1 Message Date
sigseg5
5422d3cf2c
Add init macOS arm build 2023-05-19 14:04:34 +04:00
3 changed files with 6 additions and 1 deletions

View file

@ -13,8 +13,13 @@ 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)
set(CMAKE_OSX_ARCHITECTURES "x86_64")
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)

Binary file not shown.

Binary file not shown.