Use Qt5Core version.

This commit is contained in:
Teo Mrnjavac 2016-03-24 19:11:53 +01:00
parent 1ec747555c
commit f91f22e6f6

View File

@ -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 ) find_package( Qt5 ${QT_VERSION} CONFIG REQUIRED WebKit WebKitWidgets )
list( APPEND CALA_WEBVIEW_INCLUDE_DIRECTORIES list( APPEND CALA_WEBVIEW_INCLUDE_DIRECTORIES