mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-22 04:55:48 +03:00
Fix macOS build when file provider module build is disabled
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
34792e080c
commit
43a21717fa
2 changed files with 2 additions and 1 deletions
|
@ -190,6 +190,7 @@ 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
|
||||
|
|
|
@ -403,7 +403,7 @@ Application::Application(int &argc, char **argv)
|
|||
}
|
||||
}
|
||||
|
||||
#if defined(Q_OS_MACOS)
|
||||
#if defined(BUILD_FILE_PROVIDER_MODULE)
|
||||
_fileProvider.reset(new Mac::FileProvider);
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue