Browse Source

oh, we were the ones doing it wrong, ok

lizzie/netbsdgcc14-fix
lizzie 2 months ago
committed by crueter
parent
commit
703d64e7a2
  1. 2
      CMakeLists.txt
  2. 2
      src/qt_common/CMakeLists.txt

2
CMakeLists.txt

@ -622,7 +622,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)

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

Loading…
Cancel
Save