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
This commit is contained in:
Thomas Lübking 2015-05-15 23:28:51 +02:00
parent 8855f47f34
commit f79cdc6b33

View file

@ -304,7 +304,7 @@ else()
set(HAVE_GBM FALSE)
endif()
if(!KWIN_HAVE_EGL)
if(NOT KWIN_HAVE_EGL)
set(HAVE_GBM FALSE)
endif()