From 5911cce0576b5432b4f517c1033128d2ab852ef4 Mon Sep 17 00:00:00 2001 From: Gaelle Braud Date: Fri, 22 Aug 2025 11:23:58 +0200 Subject: [PATCH] fix crash macos noification in task bar --- Linphone/core/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Linphone/core/CMakeLists.txt b/Linphone/core/CMakeLists.txt index 961832175..48bba6ffc 100644 --- a/Linphone/core/CMakeLists.txt +++ b/Linphone/core/CMakeLists.txt @@ -41,7 +41,6 @@ list(APPEND _LINPHONEAPP_SOURCES core/emoji/EmojiModel.cpp core/emoji/EmojiProxy.cpp core/event-count-notifier/AbstractEventCountNotifier.cpp - core/event-count-notifier/EventCountNotifierSystemTrayIcon.cpp core/fps-counter/FPSCounter.cpp core/friend/FriendCore.cpp core/friend/FriendGui.cpp @@ -132,5 +131,7 @@ else() # Use QDBus for Linux endif() if(APPLE) list(APPEND _LINPHONEAPP_SOURCES core/event-count-notifier/EventCountNotifierMacOs.m) +else() + list(APPEND _LINPHONEAPP_SOURCES core/event-count-notifier/EventCountNotifierSystemTrayIcon.cpp) endif() set(_LINPHONEAPP_SOURCES ${_LINPHONEAPP_SOURCES} PARENT_SCOPE)