X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=CMakeLists.txt;h=1a22fac958b7e2cddc8eb39790101df3ce7475be;hb=refs%2Fpull%2F148%2Fhead;hp=3028a427be2c02fa82a678d0fa0c66906e53d159;hpb=e79fef9192e283218d85aded920f0a2bc190c522;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 ################