From fdbd5e40cc576b3aed7892604c27f8acaf680dc1 Mon Sep 17 00:00:00 2001 From: Claudio Cambra Date: Fri, 2 Jun 2023 19:37:45 +0800 Subject: [PATCH] Don't build file provider module by default (yet) Signed-off-by: Claudio Cambra --- CMakeLists.txt | 2 +- NEXTCLOUD.cmake | 4 ++++ config.h.in | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) 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@"