Changeset View
Changeset View
Standalone View
Standalone View
src/CMakeLists.txt
Show All 35 Lines | |||||
36 | 36 | | |||
37 | if (ANDROID) | 37 | if (ANDROID) | ||
38 | add_subdirectory(android) | 38 | add_subdirectory(android) | ||
39 | list(APPEND knotifications_SRCS notifybyandroid.cpp knotifications.qrc) | 39 | list(APPEND knotifications_SRCS notifybyandroid.cpp knotifications.qrc) | ||
40 | endif() | 40 | endif() | ||
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 (CANBERRA_FOUND) | 44 | if (Canberra_FOUND) | ||
45 | set(knotifications_SRCS ${knotifications_SRCS} | 45 | set(knotifications_SRCS ${knotifications_SRCS} | ||
46 | notifybyaudio_canberra.cpp) | 46 | notifybyaudio_canberra.cpp) | ||
47 | elseif (Phonon4Qt5_FOUND) | 47 | elseif (Phonon4Qt5_FOUND) | ||
48 | set(knotifications_SRCS ${knotifications_SRCS} | 48 | set(knotifications_SRCS ${knotifications_SRCS} | ||
49 | notifybyaudio_phonon.cpp) | 49 | notifybyaudio_phonon.cpp) | ||
50 | endif() | 50 | endif() | ||
51 | 51 | | |||
52 | if (Qt5TextToSpeech_FOUND) | 52 | if (Qt5TextToSpeech_FOUND) | ||
▲ Show 20 Lines • Show All 45 Lines • ▼ Show 20 Line(s) | 94 | target_link_libraries(KF5Notifications PRIVATE | |||
98 | KF5::Codecs | 98 | KF5::Codecs | ||
99 | ) | 99 | ) | ||
100 | 100 | | |||
101 | if (Phonon4Qt5_FOUND) | 101 | if (Phonon4Qt5_FOUND) | ||
102 | target_link_libraries(KF5Notifications PRIVATE | 102 | target_link_libraries(KF5Notifications PRIVATE | ||
103 | ${PHONON_LIBRARIES}) | 103 | ${PHONON_LIBRARIES}) | ||
104 | endif() | 104 | endif() | ||
105 | 105 | | |||
106 | if (CANBERRA_FOUND) | 106 | if (Canberra_FOUND) | ||
107 | target_link_libraries(KF5Notifications PRIVATE | 107 | target_link_libraries(KF5Notifications PRIVATE | ||
108 | ${CANBERRA_LIBRARIES}) | 108 | Canberra::Canberra) | ||
109 | endif() | 109 | endif() | ||
110 | 110 | | |||
111 | if (Qt5TextToSpeech_FOUND) | 111 | if (Qt5TextToSpeech_FOUND) | ||
112 | target_link_libraries(KF5Notifications PRIVATE Qt5::TextToSpeech) | 112 | target_link_libraries(KF5Notifications PRIVATE Qt5::TextToSpeech) | ||
113 | endif() | 113 | endif() | ||
114 | 114 | | |||
115 | if(X11_FOUND) | 115 | if(X11_FOUND) | ||
116 | target_link_libraries(KF5Notifications PRIVATE ${X11_X11_LIB} Qt5::X11Extras) | 116 | target_link_libraries(KF5Notifications PRIVATE ${X11_X11_LIB} Qt5::X11Extras) | ||
▲ Show 20 Lines • Show All 89 Lines • Show Last 20 Lines |