From: Claudio Cambra Date: Wed, 15 Mar 2023 15:32:18 +0000 (+0100) Subject: Make CMake BUILD_FILE_PROVIDER_MODULE option only available on Apple X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~10^2~55^2~64 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=a85d93450a8961c4660b5667fe39dad081fd96d9;p=nextcloud-desktop.git Make CMake BUILD_FILE_PROVIDER_MODULE option only available on Apple Signed-off-by: Claudio Cambra --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 1b7a0c584..d38c8169c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -187,8 +187,10 @@ else() unset(CMAKE_CXX_CLANG_TIDY) endif() -# build macOS File Provider module -option(BUILD_FILE_PROVIDER_MODULE "BUILD_FILE_PROVIDER_MODULE" ON) +if (APPLE) + # build macOS File Provider module + option(BUILD_FILE_PROVIDER_MODULE "BUILD_FILE_PROVIDER_MODULE" ON) +endif() # When this option is enabled, 5xx errors are not added to the blacklist # Normally you don't want to enable this option because if a particular file