diff options
author | Joseph Donofry <rubberduckie3554@gmail.com> | 2021-11-01 20:48:51 -0400 |
---|---|---|
committer | Joseph Donofry <rubberduckie3554@gmail.com> | 2021-11-01 20:48:51 -0400 |
commit | 912df2920e17b5506028cb007923ab8a20f8f1eb (patch) | |
tree | 24dc3917da16f43c16399375ad1ebd455ee38da4 /CMakeLists.txt | |
parent | Fix crash on logout (diff) | |
download | nheko-912df2920e17b5506028cb007923ab8a20f8f1eb.tar.xz |
Update macOS notifications to use UserNotifications framework
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
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) |