summary refs log tree commit diff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorJoseph Donofry <rubberduckie3554@gmail.com>2021-11-01 20:48:51 -0400
committerJoseph Donofry <rubberduckie3554@gmail.com>2021-11-01 20:48:51 -0400
commit912df2920e17b5506028cb007923ab8a20f8f1eb (patch)
tree24dc3917da16f43c16399375ad1ebd455ee38da4 /CMakeLists.txt
parentFix crash on logout (diff)
downloadnheko-912df2920e17b5506028cb007923ab8a20f8f1eb.tar.xz
Update macOS notifications to use UserNotifications framework
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a9bdeec1..520a6f95 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -591,7 +591,7 @@ include(Translations)
 set(TRANSLATION_DEPS ${LANG_QRC} ${QRC} ${QM_SRC})
 
 if (APPLE)
-	set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -framework Foundation -framework Cocoa")
+	set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -framework Foundation -framework Cocoa -framework UserNotifications")
 	set(SRC_FILES ${SRC_FILES} src/notifications/ManagerMac.mm src/notifications/ManagerMac.cpp src/emoji/MacHelper.mm)
 	if(${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.16.0")
 		set_source_files_properties( src/notifications/ManagerMac.mm src/emoji/MacHelper.mm PROPERTIES SKIP_PRECOMPILE_HEADERS ON)