diff --git a/CMakeLists.txt b/CMakeLists.txt index d38c8169c..d712c99f0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -189,7 +189,7 @@ endif() if (APPLE) # build macOS File Provider module - option(BUILD_FILE_PROVIDER_MODULE "BUILD_FILE_PROVIDER_MODULE" ON) + option(BUILD_FILE_PROVIDER_MODULE "BUILD_FILE_PROVIDER_MODULE" OFF) endif() # When this option is enabled, 5xx errors are not added to the blacklist diff --git a/NEXTCLOUD.cmake b/NEXTCLOUD.cmake index b48ba5291..717a34978 100644 --- a/NEXTCLOUD.cmake +++ b/NEXTCLOUD.cmake @@ -74,3 +74,7 @@ if(WIN32) option( BUILD_WIN_MSI "Build MSI scripts and helper DLL" OFF ) option( BUILD_WIN_TOOLS "Build Win32 migration tools" OFF ) endif() + +if (APPLE) + set( BUILD_FILE_PROVIDER_MODULE OFF ) +endif() diff --git a/config.h.in b/config.h.in index 8a9e0e3c5..167f8a90f 100644 --- a/config.h.in +++ b/config.h.in @@ -4,7 +4,7 @@ #cmakedefine USE_INOTIFY 1 #cmakedefine WITH_QTKEYCHAIN 1 #cmakedefine WITH_CRASHREPORTER -#cmakedefine BUILD_FILE_PROVIDER_MODULE 1 +#cmakedefine BUILD_FILE_PROVIDER_MODULE "@BUILD_FILE_PROVIDER_MODULE@" #cmakedefine WITH_PROVIDERS "@WITH_PROVIDERS@" #cmakedefine CRASHREPORTER_EXECUTABLE "@CRASHREPORTER_EXECUTABLE@" #define SOCKETAPI_TEAM_IDENTIFIER_PREFIX "@SOCKETAPI_TEAM_IDENTIFIER_PREFIX@"