Skip to content

Commit

Permalink
Try to fix QtWebengine detection for MXE
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitozz committed Jun 7, 2017
1 parent 28ba7f3 commit b1c6be8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion generic/imagepreviewplugin/CMakeLists.txt
Expand Up @@ -14,7 +14,7 @@ option( USE_WEBENGINE "Use WebEngine support instead of Webkit" OFF )
if(USE_QT5)
find_package( Qt5Core REQUIRED )
if(${Qt5Core_VERSION} VERSION_GREATER 5.7.0)
find_package( Qt5WebEngine QUIET )
find_package( Qt5 COMPONENTS WebEngine QUIET )
if( Qt5WebEngine_FOUND )
set(USE_WEBENGINE ON)
add_definitions(
Expand Down
2 changes: 1 addition & 1 deletion generic/juickplugin/CMakeLists.txt
Expand Up @@ -15,7 +15,7 @@ if(USE_QT5)
add_definitions(-DHAVE_QT5)
find_package( Qt5Core REQUIRED )
if(${Qt5Core_VERSION} VERSION_GREATER 5.7.0)
find_package( Qt5WebEngine QUIET )
find_package( Qt5 COMPONENTS WebEngine QUIET )
if( Qt5WebEngine_FOUND )
set(USE_WEBENGINE ON)
add_definitions(
Expand Down

0 comments on commit b1c6be8

Please sign in to comment.