mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Fix build with BUILD_TESTING activated
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
7d119457db
commit
2d27d6d072
@ -656,7 +656,7 @@ endif()
|
||||
|
||||
if (APPLE)
|
||||
find_package(Qt5 COMPONENTS MacExtras)
|
||||
target_link_libraries(nextcloudCore PUBLIC Qt5::MacExtras "-framework UserNotifications FileProvider")
|
||||
target_link_libraries(nextcloudCore PUBLIC Qt5::MacExtras "-framework UserNotifications -framework FileProvider")
|
||||
endif()
|
||||
|
||||
if(WITH_CRASHREPORTER)
|
||||
|
||||
@ -18,9 +18,10 @@
|
||||
#include <QObject>
|
||||
#include <QScopedPointer>
|
||||
|
||||
#include "gui/accountstate.h"
|
||||
|
||||
namespace OCC {
|
||||
|
||||
class AccountState;
|
||||
|
||||
namespace Mac {
|
||||
|
||||
// NOTE: For the file provider extension to work, the app bundle will
|
||||
|
||||
@ -16,12 +16,16 @@
|
||||
#import <Foundation/Foundation.h>
|
||||
#import <FileProvider/FileProvider.h>
|
||||
|
||||
#include "gui/application.h"
|
||||
#include <QLoggingCategory>
|
||||
|
||||
#include "gui/accountmanager.h"
|
||||
#include "gui/accountstate.h"
|
||||
#include "libsync/account.h"
|
||||
#include "fileprovider.h"
|
||||
|
||||
namespace OCC {
|
||||
|
||||
Q_LOGGING_CATEGORY(lcMacFileProvider, "nextcloud.gui.macfileprovider")
|
||||
Q_LOGGING_CATEGORY(lcMacFileProvider, "nextcloud.gui.macfileprovider", QtInfoMsg)
|
||||
|
||||
namespace Mac {
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user