X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=CMakeLists.txt;h=1a22fac958b7e2cddc8eb39790101df3ce7475be;hp=3028a427be2c02fa82a678d0fa0c66906e53d159;hb=24900ee80dfe1771fb74c9d16bbaf065d70c5e63;hpb=56d25331d61b4b24a2805f1cf16e68f722fdaf73 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 ################