FindXKB.cmake module and if XKB is not found Wayland support is not enabled.
69dd7ad Require xkbcommon for KWin's Wayland backend
CMakeLists.txt | 7 ++++
cmake/modules/FindXKB.cmake | 79 +++++++++++++++++++++++++++++++++++++++++++
kwin/CMakeLists.txt | 5 +--
3 files changed, 89 insertions(+), 2 deletions(-)
Upstream: quickgit.kde.org