From 75b8925fb7610db3bcadfb5427e822d2aaee3958 Mon Sep 17 00:00:00 2001
From: Sergei Reznikov <diver@gelios.net>
Date: Thu, 18 Mar 2021 15:56:20 +0300
Subject: Disable Wayland on Haiku


diff --git a/CMakeLists.txt b/CMakeLists.txt
index a18f6f1..aa6d084 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -13,7 +13,7 @@ feature_summary(WHAT REQUIRED_PACKAGES_NOT_FOUND FATAL_ON_MISSING_REQUIRED_PACKA
 option(BUILD_QCH "Build API documentation in QCH format (for e.g. Qt Assistant, Qt Creator & KDevelop)" OFF)
 add_feature_info(QCH ${BUILD_QCH} "API documentation in QCH format (for e.g. Qt Assistant, Qt Creator & KDevelop)")
 
-if (UNIX AND NOT ANDROID AND NOT APPLE)
+if (UNIX AND NOT ANDROID AND NOT APPLE AND NOT HAIKU)
     option(WITH_WAYLAND "Build with support for KeySequenceEditor inhibiting shortcuts on Wayland" ON)
     add_feature_info(WAYLAND ${WITH_WAYLAND} "KeySequenceEditor inhibiting shortcuts on Wayland")
 
-- 
2.30.2

