diff --git a/CMakeLists.txt b/CMakeLists.txt index 0a96bfc..5d6e0a5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -34,6 +34,11 @@ include(ECMQmlModule) include(KDEGitCommitHooks) find_package(Qt6 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS WaylandClient Qml) + +if (Qt6WaylandClient_VERSION VERSION_GREATER_EQUAL "6.10.0") + find_package(Qt6WaylandClientPrivate ${REQUIRED_QT_VERSION} REQUIRED NO_MODULE) +endif() + find_package(WaylandScanner REQUIRED) find_package(Wayland 1.3 COMPONENTS Client Server) find_package(WaylandProtocols REQUIRED)