From 5406a153e188144dbb30c53867247e140fb88b5e Mon Sep 17 00:00:00 2001 From: DraVee Date: Sun, 18 Jan 2026 05:25:37 +0100 Subject: [PATCH] [cmake] Promote Qt FreeBSD (fix building with Qt 6.10.1) (#3335) Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3335 Reviewed-by: Maufeat Reviewed-by: CamilleLaVey Co-authored-by: DraVee Co-committed-by: DraVee --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2ce234cd2a..fe73f558c9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -601,7 +601,7 @@ if (ENABLE_QT) find_package(Qt6 REQUIRED COMPONENTS Multimedia) endif() - if (CMAKE_SYSTEM_NAME STREQUAL "Linux") + if (PLATFORM_LINUX OR PLATFORM_FREEBSD) # yes Qt, we get it set(QT_NO_PRIVATE_MODULE_WARNING ON) find_package(Qt6 REQUIRED COMPONENTS DBus OPTIONAL_COMPONENTS GuiPrivate)