aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcrueter <crueter@eden-emu.dev>2026-01-16 03:34:04 +0100
committercrueter <crueter@eden-emu.dev>2026-01-16 03:34:04 +0100
commit6f9fb83a1deb5084dcaa54ce3d80fc8e6862df3e (patch)
treedc9dd9c067b8f8e38d78209f49299f58636a0dcf
parenta82cf247fd7b4244b4477afdb1f7860b5b4e9b92 (diff)
[cmake] Fix Qt component finding (#3319)
Oops Signed-off-by: crueter <crueter@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3319 Reviewed-by: MaranBr <maranbr@eden-emu.dev> Reviewed-by: Lizzie <lizzie@eden-emu.dev> Reviewed-by: DraVee <dravee@eden-emu.dev>
-rw-r--r--CMakeLists.txt11
1 files changed, 5 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e9e232a7e4..2ce234cd2a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -634,20 +634,19 @@ if (ENABLE_QT)
## Components ##
# Best practice is to ask for all components at once, so they are from the same version
- set(YUZU_QT_COMPONENTS2 Core Widgets Concurrent)
+ set(YUZU_QT_COMPONENTS Core Widgets Concurrent)
if (PLATFORM_LINUX)
- list(APPEND YUZU_QT_COMPONENTS2 DBus)
+ list(APPEND YUZU_QT_COMPONENTS DBus)
endif()
if (YUZU_USE_QT_MULTIMEDIA)
- list(APPEND YUZU_QT_COMPONENTS2 Multimedia)
+ list(APPEND YUZU_QT_COMPONENTS Multimedia)
endif()
if (YUZU_USE_QT_WEB_ENGINE)
- list(APPEND YUZU_QT_COMPONENTS2 WebEngineCore WebEngineWidgets)
+ list(APPEND YUZU_QT_COMPONENTS WebEngineCore WebEngineWidgets)
endif()
if (ENABLE_QT_TRANSLATION)
- list(APPEND YUZU_QT_COMPONENTS2 LinguistTools)
+ list(APPEND YUZU_QT_COMPONENTS LinguistTools)
endif()
- set(YUZU_QT_COMPONENTS ${YUZU_QT_COMPONENTS2} PARENT_SCOPE)
find_package(Qt6 REQUIRED COMPONENTS ${YUZU_QT_COMPONENTS})
set(QT_MAJOR_VERSION 6)