From a0c45a68b8165c586f161b55167481e1a87be0c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Tue, 12 May 2015 10:03:00 +0200 Subject: [PATCH] Disable GBM if we build without EGL support --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8830cfc75d..603ca53fea 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -301,6 +301,11 @@ else() set(HAVE_WAYLAND_CURSOR FALSE) set(HAVE_X11_XCB FALSE) set(HAVE_DRM FALSE) + set(HAVE_GBM FALSE) +endif() + +if(!KWIN_HAVE_EGL) + set(HAVE_GBM FALSE) endif() if(XCB_CURSOR_FOUND)