mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-24 22:15:57 +03:00
Remove now unneeded deployment target checks in CMake
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
f2f16a5f24
commit
9455dcfd8a
1 changed files with 2 additions and 4 deletions
|
@ -275,9 +275,7 @@ IF( APPLE )
|
|||
list(APPEND client_SRCS cocoainitializer_mac.mm)
|
||||
list(APPEND client_SRCS systray_mac_common.mm)
|
||||
|
||||
if (CMAKE_OSX_DEPLOYMENT_TARGET VERSION_GREATER_EQUAL 10.14)
|
||||
list(APPEND client_SRCS systray_mac_usernotifications.mm)
|
||||
endif()
|
||||
list(APPEND client_SRCS systray_mac_usernotifications.mm)
|
||||
|
||||
if (BUILD_FILE_PROVIDER_MODULE)
|
||||
list(APPEND client_SRCS
|
||||
|
@ -706,7 +704,7 @@ endif()
|
|||
if (APPLE)
|
||||
if (BUILD_FILE_PROVIDER_MODULE)
|
||||
target_link_libraries(nextcloudCore PUBLIC "-framework UserNotifications -framework FileProvider")
|
||||
elseif(CMAKE_OSX_DEPLOYMENT_TARGET VERSION_GREATER_EQUAL 10.14)
|
||||
else()
|
||||
target_link_libraries(nextcloudCore PUBLIC "-framework UserNotifications")
|
||||
endif()
|
||||
endif()
|
||||
|
|
Loading…
Reference in a new issue