Changeset View
Changeset View
Standalone View
Standalone View
src/CMakeLists.txt
Context not available. | |||||
41 | 41 | | |||
---|---|---|---|---|---|
42 | ecm_qt_declare_logging_category(knotifications_SRCS HEADER debug_p.h IDENTIFIER LOG_KNOTIFICATIONS CATEGORY_NAME org.kde.knotifications) | 42 | ecm_qt_declare_logging_category(knotifications_SRCS HEADER debug_p.h IDENTIFIER LOG_KNOTIFICATIONS CATEGORY_NAME org.kde.knotifications) | ||
43 | 43 | | |||
44 | if (APPLE) | ||||
45 | list(APPEND knotifications_SRCS notifybymacosnotificationcenter.mm) | ||||
46 | endif() | ||||
47 | | ||||
44 | if (Canberra_FOUND) | 48 | if (Canberra_FOUND) | ||
45 | set(knotifications_SRCS ${knotifications_SRCS} | 49 | set(knotifications_SRCS ${knotifications_SRCS} | ||
46 | notifybyaudio_canberra.cpp) | 50 | notifybyaudio_canberra.cpp) | ||
Context not available. | |||||
117 | endif() | 121 | endif() | ||
118 | 122 | | |||
119 | if(APPLE) | 123 | if(APPLE) | ||
120 | target_link_libraries(KF5Notifications PRIVATE Qt5::MacExtras) | 124 | target_link_libraries(KF5Notifications PRIVATE Qt5::MacExtras "-framework Foundation -framework AppKit") | ||
121 | endif() | 125 | endif() | ||
122 | 126 | | |||
123 | if(X11_XTest_FOUND) | 127 | if(X11_XTest_FOUND) | ||
Context not available. |