summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jan Beich2020-06-29 23:52:40 +0000
committerGravatar Jan Beich2020-06-29 23:52:45 +0000
commitdda90ce1c24935ebc085dfcee4eecba200a49d17 (patch)
treef7ed53f6913dc2ca39aeac086b7781e2a2188c4b
parentMerge pull request #4140 from ReinUsesLisp/validation-layers (diff)
downloadyuzu-dda90ce1c24935ebc085dfcee4eecba200a49d17.tar.gz
yuzu-dda90ce1c24935ebc085dfcee4eecba200a49d17.tar.xz
yuzu-dda90ce1c24935ebc085dfcee4eecba200a49d17.zip
cmake: depend on WebEngine with system Qt
CMake Error at src/yuzu/CMakeLists.txt:7 (add_executable): Target "yuzu" links to target "Qt5::WebEngineCore" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing?
-rw-r--r--CMakeLists.txt3
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)
214 set(QT_PREFIX_HINT HINTS "${QT_PREFIX}") 214 set(QT_PREFIX_HINT HINTS "${QT_PREFIX}")
215 endif() 215 endif()
216 find_package(Qt5 5.9 COMPONENTS Widgets OpenGL ${QT_PREFIX_HINT}) 216 find_package(Qt5 5.9 COMPONENTS Widgets OpenGL ${QT_PREFIX_HINT})
217 if (YUZU_USE_QT_WEB_ENGINE)
218 find_package(Qt5 COMPONENTS WebEngineCore WebEngineWidgets)
219 endif()
217 if (NOT Qt5_FOUND) 220 if (NOT Qt5_FOUND)
218 list(APPEND CONAN_REQUIRED_LIBS "qt/5.14.1@bincrafters/stable") 221 list(APPEND CONAN_REQUIRED_LIBS "qt/5.14.1@bincrafters/stable")
219 endif() 222 endif()