From f79cdc6b33888aa2cfbdd69999e54435d461f296 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20L=C3=BCbking?= Date: Fri, 15 May 2015 23:28:51 +0200 Subject: [PATCH] fix building w/o EGL better "!VARIABLE" does not what you think CMake syntax is weird ;-) http://www.cmake.org/cmake/help/v3.0/command/if.html#command:if http://www.cmake.org/pipermail/cmake/2011-November/047239.html --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 603ca53fea..96526218e2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -304,7 +304,7 @@ else() set(HAVE_GBM FALSE) endif() -if(!KWIN_HAVE_EGL) +if(NOT KWIN_HAVE_EGL) set(HAVE_GBM FALSE) endif()