mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-24 10:55:46 -05:00
CMake: be more verbose about choice of webkit vs engine
This commit is contained in:
parent
c2c55dede1
commit
a23b7c2a00
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue