Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
unset(CMAKE_CXX_CLANG_TIDY)
endif()
-if (APPLE)
- # build macOS File Provider module
- option(BUILD_FILE_PROVIDER_MODULE "BUILD_FILE_PROVIDER_MODULE" OFF)
-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
# triggers a bug on the server, you want the file to be blacklisted.
endif()
if (APPLE)
- set( BUILD_FILE_PROVIDER_MODULE OFF )
+ option( BUILD_FILE_PROVIDER_MODULE "Build the macOS virtual files File Provider module" OFF )
endif()
}
}
-#if (BUILD_FILE_PROVIDER_MODULE)
+#if defined(BUILD_FILE_PROVIDER_MODULE)
_fileProvider.reset(new Mac::FileProvider);
#endif