diff options
author | David <25727384+ogniK5377@users.noreply.github.com> | 2020-07-01 14:25:47 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-01 14:25:47 +1000 |
commit | beb172e9fcd70f39da2c767730177b7dd456ba8a (patch) | |
tree | 07b7050a0e59ceaf324b1ee5605e14622ae35620 | |
parent | 3bb63bc0b364ed10d478102d3174f55486438716 (diff) | |
parent | dda90ce1c24935ebc085dfcee4eecba200a49d17 (diff) |
Merge pull request #4209 from jbeich/webengine
cmake: unbreak YUZU_USE_QT_WEB_ENGINE without YUZU_USE_BUNDLED_QT
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index b71071271..73405ce4b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -214,6 +214,9 @@ if(ENABLE_QT) set(QT_PREFIX_HINT HINTS "${QT_PREFIX}") endif() find_package(Qt5 5.9 COMPONENTS Widgets OpenGL ${QT_PREFIX_HINT}) + if (YUZU_USE_QT_WEB_ENGINE) + find_package(Qt5 COMPONENTS WebEngineCore WebEngineWidgets) + endif() if (NOT Qt5_FOUND) list(APPEND CONAN_REQUIRED_LIBS "qt/5.14.1@bincrafters/stable") endif() |