Skip to content

Commit

Permalink
Remove now unneeded deployment target checks in CMake
Browse files Browse the repository at this point in the history
Signed-off-by: Claudio Cambra <[email protected]>
  • Loading branch information
claucambra authored and mgallien committed Sep 23, 2024
1 parent 5289e98 commit 05e1e49
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/gui/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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()
Expand Down

0 comments on commit 05e1e49

Please sign in to comment.