From 995592b84e3569a480d8f909440fca6b39486c89 Mon Sep 17 00:00:00 2001 From: Claudio Cambra Date: Fri, 20 Sep 2024 18:10:20 +0800 Subject: [PATCH] Remove now unneeded deployment target checks in CMake Signed-off-by: Claudio Cambra --- src/gui/CMakeLists.txt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/gui/CMakeLists.txt b/src/gui/CMakeLists.txt index 845066977d40..ce33b8fc0aa2 100644 --- a/src/gui/CMakeLists.txt +++ b/src/gui/CMakeLists.txt @@ -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()