diff --git a/src/modules/webview/CMakeLists.txt b/src/modules/webview/CMakeLists.txt index a573d151c..ef21403ff 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.0 ) +if ( "${QT_VERSION}" VERSION_LESS "5.6" ) find_package( Qt5 ${QT_VERSION} CONFIG REQUIRED WebKit WebKitWidgets ) list( APPEND CALA_WEBVIEW_INCLUDE_DIRECTORIES