From 82fd9020e47caf15b7c0095ccfc163307dd3ac9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Wed, 19 Mar 2014 11:02:39 +0100 Subject: [PATCH] [kwin] Improve setting HAVE_WAYLAND_EGL On the CI system that seemed to have been true although Wayland Client lib was not found. --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c1236cb9e7..71ee67b4b0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -208,11 +208,12 @@ endif() configure_file(libkwineffects/kwinconfig.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/libkwineffects/kwinconfig.h ) # for kwin internal things set(HAVE_WAYLAND ${Wayland_Client_FOUND}) -set(HAVE_WAYLAND_EGL ${Wayland_Egl_FOUND} AND ${Wayland_Client_FOUND}) if(${HAVE_WAYLAND}) set(HAVE_XKB ${XKB_FOUND}) + set(HAVE_WAYLAND_EGL ${Wayland_Egl_FOUND}) else() set(HAVE_XKB FALSE) + set(HAVE_WAYLAND_EGL FALSE) endif() include(CheckIncludeFiles)