X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fqtui%2FCMakeLists.txt;h=eedb69c6f47564ce6d484b13ea30e18eace0b445;hb=46fba5edfabcb55103cd3fdbfc5ce85c9b592dd6;hp=c994767197ae00c5b300eab9ae7b433c8a0d2229;hpb=56e1d275c2f8a59eaf9d19ba76aca5f1d3163683;p=quassel.git diff --git a/src/qtui/CMakeLists.txt b/src/qtui/CMakeLists.txt index c9947671..eedb69c6 100644 --- a/src/qtui/CMakeLists.txt +++ b/src/qtui/CMakeLists.txt @@ -95,12 +95,11 @@ if (WITH_KF5) list(APPEND LIBS KF5::ConfigWidgets KF5::Notifications KF5::NotifyConfig KF5::WidgetsAddons KF5::XmlGui) endif() -if (LIBSNORE_FOUND) +if (LibsnoreQt5_FOUND) add_definitions(-DHAVE_LIBSNORE) - include_directories(${LIBSNORE_INCLUDE_DIRS}) list(APPEND SOURCES snorenotificationbackend.cpp) list(APPEND FORMS snorentificationconfigwidget.ui) - list(APPEND LIBS ${LIBSNORE_LIBRARIES}) + list(APPEND LIBS Snore::Libsnore Snore::LibsnoreSettings) endif() if (PHONON_FOUND OR Phonon4Qt5_FOUND) @@ -130,7 +129,7 @@ if (QT_QTDBUS_FOUND OR Qt5DBus_FOUND) qt_add_dbus_adaptor (SOURCES ../../interfaces/org.kde.StatusNotifierItem.xml statusnotifieritemdbus.h StatusNotifierItemDBus) endif() -if (QT_QTWEBKIT_FOUND OR Qt5WebKitWidgets_FOUND) +if (HAVE_WEBKIT) add_definitions(-DHAVE_WEBKIT) list(APPEND QT_MODULES WebKit) if (USE_QT5)