Merge pull request #205 from amnezia-vpn/fix/build_desktop_on_apple_silicon

Fix to build Amnezia desktop app on Apple Silicon
This commit is contained in:
pokamest 2023-04-05 01:51:31 +01:00 committed by GitHub
commit ef8668dce4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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)