Disable GBM if we build without EGL support
This commit is contained in:
parent
4bf479aca2
commit
a0c45a68b8
1 changed files with 5 additions and 0 deletions
|
@ -301,6 +301,11 @@ else()
|
||||||
set(HAVE_WAYLAND_CURSOR FALSE)
|
set(HAVE_WAYLAND_CURSOR FALSE)
|
||||||
set(HAVE_X11_XCB FALSE)
|
set(HAVE_X11_XCB FALSE)
|
||||||
set(HAVE_DRM FALSE)
|
set(HAVE_DRM FALSE)
|
||||||
|
set(HAVE_GBM FALSE)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(!KWIN_HAVE_EGL)
|
||||||
|
set(HAVE_GBM FALSE)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(XCB_CURSOR_FOUND)
|
if(XCB_CURSOR_FOUND)
|
||||||
|
|
Loading…
Reference in a new issue