Disable GBM if we build without EGL support

This commit is contained in:
Martin Gräßlin 2015-05-12 10:03:00 +02:00
parent 4bf479aca2
commit a0c45a68b8

View file

@ -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)