X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2FCMakeLists.txt;h=5fee3df4e0bd0436ce387de04129bb20c91cfe2e;hp=fdf5eaa834f8976a61a433f5e172e37d46b1f853;hb=46888b395628f1023916a571762c07e72bc7f73c;hpb=680565f39c50f27cc339cb3e96bbd0abc6f47144 diff --git a/src/qtui/CMakeLists.txt b/src/qtui/CMakeLists.txt index fdf5eaa8..5fee3df4 100644 --- a/src/qtui/CMakeLists.txt +++ b/src/qtui/CMakeLists.txt @@ -144,10 +144,18 @@ if (HAVE_WEBKIT) 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)