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()