fix crash macos noification in task bar

This commit is contained in:
Gaelle Braud 2025-08-22 11:23:58 +02:00
parent 2361f49c1d
commit 5911cce057

View file

@ -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)