VERY experimental Nintendo Switch 2 emulator
C++
[cmake] Fix Qt component finding (#3319)
crueter6f9fb83a1deb
diff --git a/CMakeLists.txt b/CMakeLists.txtindex 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)