X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=CMakeLists.txt;h=1a22fac958b7e2cddc8eb39790101df3ce7475be;hb=df2312599e2c23f61f28fe08ed4c625066387172;hp=3028a427be2c02fa82a678d0fa0c66906e53d159;hpb=56d25331d61b4b24a2805f1cf16e68f722fdaf73;p=quassel.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 3028a427..1a22fac9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -240,7 +240,11 @@ if (USE_QT5) ) endif() endif() - add_feature_info("WITH_WEBKIT, QtWebKit and QtWebKitWidgets modules" Qt5WebKitWidgets_FOUND "Support showing previews for URLs in chat") + + if (WITH_WEBKIT AND Qt5WebKitWidgets_FOUND) + set(HAVE_WEBKIT true) + endif() + add_feature_info("WITH_WEBKIT, QtWebKit and QtWebKitWidgets modules" HAVE_WEBKIT "Support showing previews for URLs in chat") # KDE Frameworks ################