Add conditional for kdenotification.

Split rpm package in cli/appindicator/kdenotifier
This commit is contained in:
codestation
2015-02-20 18:53:57 -04:30
parent 4e8e009c43
commit 0b3382ee05
2 changed files with 32 additions and 3 deletions

View File

@@ -7,7 +7,8 @@ DEFINES += QCMA_TRAYINDICATOR_LIBRARY
PKGCONFIG =
INCLUDEPATH += src/
greaterThan(QT_MAJOR_VERSION, 4) {
greaterThan(QT_MAJOR_VERSION, 4): ENABLE_KNOTIFICATIONS {
message("Enabling KDE5 notifications")
QT += KNotifications
} else {
LIBS += -lkdeui