From e3e9245884da8e8928ab4065f19a340f475d4ba7 Mon Sep 17 00:00:00 2001 From: lizzie Date: Sun, 8 Mar 2026 18:27:29 +0000 Subject: [PATCH] fuck netbsd --- src/qt_common/CMakeLists.txt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/qt_common/CMakeLists.txt b/src/qt_common/CMakeLists.txt index 11ec6c4b14..65f5b1ee2b 100644 --- a/src/qt_common/CMakeLists.txt +++ b/src/qt_common/CMakeLists.txt @@ -87,10 +87,7 @@ if (NOT APPLE AND ENABLE_OPENGL) endif() if (UNIX AND NOT APPLE) - if (PLATFORM_NETBSD) - # QtGui6 has improper pkg-config configuration under NetBSD - target_include_directories(qt_common PRIVATE "${CMAKE_SYSROOT}/usr/pkg/qt6/include/QtGui/6.10.1/QtGui") - elseif (DEFINED Qt6Gui_PRIVATE_INCLUDE_DIRS) + if (DEFINED Qt6Gui_PRIVATE_INCLUDE_DIRS) target_include_directories(qt_common PRIVATE ${Qt6Gui_PRIVATE_INCLUDE_DIRS}) else() target_link_libraries(qt_common PRIVATE Qt6::GuiPrivate)