[kwin] Improve setting HAVE_WAYLAND_EGL
On the CI system that seemed to have been true although Wayland Client lib was not found.
This commit is contained in:
parent
ca9642b80f
commit
82fd9020e4
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue