add_definitions(-DHAVE_LIBSNORE)
list(APPEND SOURCES snorenotificationbackend.cpp)
list(APPEND FORMS snorentificationconfigwidget.ui)
- list(APPEND LIBS Snore::Libsnore)
+ list(APPEND LIBS Snore::Libsnore Snore::LibsnoreSettings)
+endif()
+
+if (Qt5Multimedia_FOUND)
+ add_definitions(-DHAVE_QTMULTIMEDIA)
+ list(APPEND QT_MODULES Multimedia)
+ set(SOURCES ${SOURCES} qtmultimedianotificationbackend.cpp)
+ set(FORMS ${FORMS} qtmultimedianotificationconfigwidget.ui)
endif()
if (PHONON_FOUND OR Phonon4Qt5_FOUND)
endif()
endif()
+if (HAVE_WEBENGINE)
+ add_definitions(-DHAVE_WEBENGINE)
+ list(APPEND QT_MODULES WebEngine)
+ if (USE_QT5)
+ list(APPEND QT_MODULES WebEngineWidgets)
+ endif()
+endif()
+
if(HAVE_SSL)
set(SOURCES ${SOURCES} sslinfodlg.cpp)
set(FORMS ${FORMS} sslinfodlg.ui)
-endif(HAVE_SSL)
+endif()
if (INDICATEQT_FOUND)
add_definitions(-DHAVE_INDICATEQT)
list(APPEND LIBS "/System/Library/Frameworks/Foundation.framework")
endif()
+if (KF5Sonnet_FOUND)
+ add_definitions(-DHAVE_SONNET)
+ list(APPEND SOURCES settingspages/sonnetsettingspage.cpp)
+ list(APPEND LIBS KF5::SonnetUi)
+endif()
+
foreach(FORM ${FORMS})
set(FORMPATH ${FORMPATH} ui/${FORM})
endforeach(FORM ${FORMS})