┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorVlad Zahorodnii <[email protected]>2025-02-07 12:49:12 +0200
committerVlad Zahorodnii <[email protected]>2025-02-07 12:49:12 +0200
commit200b14d15df8e9d89188f17893c8542a84be58af (patch)
tree28d49240172d07af76fe298cf4e586c7ce587272 /CMakeLists.txt
parent12921c25093bf391fc489d3bd4b438fffd4cc7fd (diff)
Fix build with qt dev
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 12808bea7..9e7329dad 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -58,6 +58,10 @@ find_package(Qt6 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS
DBus
)
+if (Qt6Gui_VERSION VERSION_GREATER_EQUAL "6.10.0")
+ find_package(Qt6GuiPrivate ${REQUIRED_QT_VERSION} REQUIRED NO_MODULE)
+endif()
+
if (UNIX AND NOT APPLE AND NOT HAIKU)
set(HAVE_X11 TRUE)
endif()