mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Remove all use of MacExtras
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
7a49312ddd
commit
afbd2ebc02
@ -22,7 +22,6 @@
|
||||
#include <QCoreApplication>
|
||||
#include <QDir>
|
||||
#include <QLoggingCategory>
|
||||
#include <QtMacExtras/QtMacExtras>
|
||||
|
||||
#include <CoreFoundation/CoreFoundation.h>
|
||||
#include <CoreServices/CoreServices.h>
|
||||
|
||||
@ -699,14 +699,10 @@ if( UNIX AND NOT APPLE )
|
||||
endif()
|
||||
|
||||
if (APPLE)
|
||||
find_package(Qt${QT_MAJOR_VERSION} COMPONENTS MacExtras)
|
||||
|
||||
if (BUILD_FILE_PROVIDER_MODULE)
|
||||
target_link_libraries(nextcloudCore PUBLIC Qt::MacExtras "-framework UserNotifications -framework FileProvider")
|
||||
target_link_libraries(nextcloudCore PUBLIC "-framework UserNotifications -framework FileProvider")
|
||||
elseif(CMAKE_OSX_DEPLOYMENT_TARGET VERSION_GREATER_EQUAL 10.14)
|
||||
target_link_libraries(nextcloudCore PUBLIC Qt::MacExtras "-framework UserNotifications")
|
||||
else()
|
||||
target_link_libraries(nextcloudCore PUBLIC Qt::MacExtras)
|
||||
target_link_libraries(nextcloudCore PUBLIC "-framework UserNotifications")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user