diff --git a/NEXTCLOUD.cmake b/NEXTCLOUD.cmake index 40d0f2ff4..a2d1fbbfe 100644 --- a/NEXTCLOUD.cmake +++ b/NEXTCLOUD.cmake @@ -77,6 +77,6 @@ if(WIN32) option( BUILD_WIN_TOOLS "Build Win32 migration tools" OFF ) endif() -if (APPLE) +if (APPLE AND (NOT DEFINED CMAKE_OSX_DEPLOYMENT_TARGET OR CMAKE_OSX_DEPLOYMENT_TARGET VERSION_GREATER_EQUAL 11.0)) option( BUILD_FILE_PROVIDER_MODULE "Build the macOS virtual files File Provider module" OFF ) endif()