Remove redundant definition addition for BUILD_FILE_PROVIDER_MODULE
authorClaudio Cambra <claudio.cambra@nextcloud.com>
Fri, 26 May 2023 02:02:06 +0000 (10:02 +0800)
committerClaudio Cambra <claudio.cambra@nextcloud.com>
Thu, 1 Jun 2023 04:43:37 +0000 (12:43 +0800)
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
CMakeLists.txt

index 4a644e6e7077eae73cfbc33d09573f936ac09be5..d38c8169c5b26248205d5dd108dd37e0f97611d1 100644 (file)
@@ -190,7 +190,6 @@ endif()
 if (APPLE)
     # build macOS File Provider module
     option(BUILD_FILE_PROVIDER_MODULE "BUILD_FILE_PROVIDER_MODULE" ON)
-    add_definitions(-DBUILD_FILE_PROVIDER_MODULE=${BUILD_FILE_PROVIDER_MODULE})
 endif()
 
 # When this option is enabled, 5xx errors are not added to the blacklist