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)