From 113ba716e60b2f4841e9c1079d31f0e97bff3860 Mon Sep 17 00:00:00 2001 From: Felix Weilbach Date: Fri, 12 Nov 2021 13:03:35 +0100 Subject: [PATCH] Compile finder extensions for arm and x86 Fix: https://github.com/nextcloud/desktop/issues/3967 Signed-off-by: Felix Weilbach --- shell_integration/MacOSX/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/shell_integration/MacOSX/CMakeLists.txt b/shell_integration/MacOSX/CMakeLists.txt index b11efaf1f..0f3fd0917 100644 --- a/shell_integration/MacOSX/CMakeLists.txt +++ b/shell_integration/MacOSX/CMakeLists.txt @@ -6,7 +6,8 @@ set(OC_OEM_SHARE_ICNS "${CMAKE_BINARY_DIR}/src/gui/${APPLICATION_ICON_NAME}.icns # Pass the info through the xcodebuild command line and make sure that the project uses # those user-defined settings to build the plist. add_custom_target( mac_overlayplugin ALL - xcodebuild -project ${CMAKE_SOURCE_DIR}/shell_integration/MacOSX/OwnCloudFinderSync/OwnCloudFinderSync.xcodeproj + xcodebuild ARCHS=${CMAKE_OSX_ARCHITECTURES} ONLY_ACTIVE_ARCH=NO + -project ${CMAKE_SOURCE_DIR}/shell_integration/MacOSX/OwnCloudFinderSync/OwnCloudFinderSync.xcodeproj -target FinderSyncExt -configuration Release "SYMROOT=${CMAKE_CURRENT_BINARY_DIR}" "OC_OEM_SHARE_ICNS=${OC_OEM_SHARE_ICNS}" "OC_APPLICATION_NAME=${APPLICATION_NAME}" -- 2.30.2