From a23b7c2a0025eaeb85ca7455fb81b55b98ee018d Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Tue, 25 Jul 2017 09:44:34 +0200 Subject: [PATCH] CMake: be more verbose about choice of webkit vs engine --- src/modules/webview/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/modules/webview/CMakeLists.txt b/src/modules/webview/CMakeLists.txt index 4cc7278ff..01212d906 100644 --- a/src/modules/webview/CMakeLists.txt +++ b/src/modules/webview/CMakeLists.txt @@ -7,7 +7,9 @@ list( APPEND CALA_WEBVIEW_LINK_LIBRARIES option( WEBVIEW_FORCE_WEBKIT "Always build webview with WebKit instead of WebEngine regardless of Qt version." OFF) +message( STATUS "Found Qt version ${Qt5Core_VERSION}") if ( Qt5Core_VERSION VERSION_LESS 5.6 OR WEBVIEW_FORCE_WEBKIT ) + message( STATUS " .. using webkit") find_package( Qt5 ${QT_VERSION} CONFIG REQUIRED WebKit WebKitWidgets ) list( APPEND CALA_WEBVIEW_INCLUDE_DIRECTORIES @@ -19,6 +21,7 @@ if ( Qt5Core_VERSION VERSION_LESS 5.6 OR WEBVIEW_FORCE_WEBKIT ) ) set( WEBVIEW_WITH_WEBKIT 1 ) else() + message( STATUS " .. using webengine") find_package( Qt5 ${QT_VERSION} CONFIG REQUIRED WebEngine WebEngineWidgets ) list( APPEND CALA_WEBVIEW_INCLUDE_DIRECTORIES