mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-22 21:15:55 +03:00
Do not try to link UserNotifications framework when building below 10.14
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
8e39d8ef97
commit
bbf280e12e
1 changed files with 3 additions and 1 deletions
|
@ -715,8 +715,10 @@ if (APPLE)
|
||||||
|
|
||||||
if (BUILD_FILE_PROVIDER_MODULE)
|
if (BUILD_FILE_PROVIDER_MODULE)
|
||||||
target_link_libraries(nextcloudCore PUBLIC Qt5::MacExtras "-framework UserNotifications -framework FileProvider")
|
target_link_libraries(nextcloudCore PUBLIC Qt5::MacExtras "-framework UserNotifications -framework FileProvider")
|
||||||
else()
|
elseif(NOT DEFINED CMAKE_OSX_DEPLOYMENT_TARGET OR CMAKE_OSX_DEPLOYMENT_TARGET VERSION_GREATER_EQUAL 10.14)
|
||||||
target_link_libraries(nextcloudCore PUBLIC Qt5::MacExtras "-framework UserNotifications")
|
target_link_libraries(nextcloudCore PUBLIC Qt5::MacExtras "-framework UserNotifications")
|
||||||
|
else()
|
||||||
|
target_link_libraries(nextcloudCore PUBLIC Qt5::MacExtras)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue