From f91f22e6f6862c93734a9a8b6bd1c64eb1ee6978 Mon Sep 17 00:00:00 2001 From: Teo Mrnjavac Date: Thu, 24 Mar 2016 19:11:53 +0100 Subject: [PATCH] Use Qt5Core version. --- src/modules/webview/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/webview/CMakeLists.txt b/src/modules/webview/CMakeLists.txt index ef21403ff..c4b0107a3 100644 --- a/src/modules/webview/CMakeLists.txt +++ b/src/modules/webview/CMakeLists.txt @@ -6,7 +6,7 @@ list( APPEND CALA_WEBVIEW_LINK_LIBRARIES ) -if ( "${QT_VERSION}" VERSION_LESS "5.6" ) +if ( Qt5Core_VERSION VERSION_LESS 5.6 ) find_package( Qt5 ${QT_VERSION} CONFIG REQUIRED WebKit WebKitWidgets ) list( APPEND CALA_WEBVIEW_INCLUDE_DIRECTORIES