From 61fe7ff07fe38dccc16d6bfc67c62432c62293e0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
Date: Mon, 14 Dec 2015 23:39:16 +0100
Subject: [PATCH] Make building of QPA wayland plugin an option
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Pure X11 accelerator blob environments fail building for wayland

Upstream-Status: Inappropriate [configuration]

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
 plugins/CMakeLists.txt | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt
index bf59cac..6026948 100644
--- a/plugins/CMakeLists.txt
+++ b/plugins/CMakeLists.txt
@@ -1,3 +1,7 @@
+option(KWIN_BUILD_QPA "Enable building of KWin wayland plugin." ON)
+
 add_subdirectory(kglobalaccel)
+if( KWIN_BUILD_QPA )
 add_subdirectory(qpa)
+endif()
 add_subdirectory(idletime)
-- 
2.5.0

