Fix to build at least x86_64 version of Amnezia desktop app on Apple Silicon

This commit is contained in:
Dmitriy Karpushin 2023-04-04 17:10:58 +03:00
parent 15c33014e7
commit a9bb6f8099

View file

@ -7,6 +7,10 @@ if(ANDROID)
set(QT_ANDROID_BUILD_ALL_ABIS ON)
endif()
if(APPLE AND NOT IOS)
set(CMAKE_OSX_ARCHITECTURES "x86_64")
endif()
add_subdirectory(client)
if(NOT IOS AND NOT ANDROID)