From 7016e5d25a2dbf1b692403b816f556e5ea01eb48 Mon Sep 17 00:00:00 2001 From: lizzie Date: Sat, 13 Jun 2026 03:14:42 -0400 Subject: [PATCH] oh, we were the ones doing it wrong, ok --- CMakeLists.txt | 2 +- src/qt_common/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ecb8eb9260..9875bb98e7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -625,7 +625,7 @@ if (ENABLE_QT) # Best practice is to ask for all components at once, so they are from the same version set(YUZU_QT_COMPONENTS Core Widgets Charts Concurrent Gui) - if (PLATFORM_LINUX OR PLATFORM_FREEBSD) + if (NOT WIN32 AND NOT APPLE) list(APPEND YUZU_QT_COMPONENTS DBus) # yes Qt, we get it set(QT_NO_PRIVATE_MODULE_WARNING ON) diff --git a/src/qt_common/CMakeLists.txt b/src/qt_common/CMakeLists.txt index ce8b776279..8858b819d6 100644 --- a/src/qt_common/CMakeLists.txt +++ b/src/qt_common/CMakeLists.txt @@ -92,7 +92,7 @@ if (ENABLE_OPENGL) target_compile_definitions(qt_common PUBLIC HAS_OPENGL) endif() -if (UNIX AND NOT APPLE AND NOT PLATFORM_NETBSD) +if (UNIX AND NOT APPLE) if (DEFINED Qt6Gui_PRIVATE_INCLUDE_DIRS) target_include_directories(qt_common PRIVATE ${Qt6Gui_PRIVATE_INCLUDE_DIRS}) else()