03231942bb
So far it was bound to whether we build for GLES. But this is semantically wrong. It might be possible that even on desktop gl epoxy is built without GLX support, thus we need to reflect this. This change ensures that epoxy/glx.h is only included if available, that relevant code is bound to it and that checks are in place to enforce EGL if not build with glx support. In addtion the glxbackend.cpp is now only included in the build set if available.
25 lines
489 B
CMake
25 lines
489 B
CMake
/*
|
|
|
|
This file includes config #define's for KWin's libraries
|
|
that are installed. Installed files and files using them
|
|
should be using these instead of their own.
|
|
|
|
*/
|
|
|
|
#ifndef KWINCONFIG_H
|
|
#define KWINCONFIG_H
|
|
|
|
/*
|
|
|
|
These should be primarily used to detect what kind of compositing
|
|
support is available.
|
|
|
|
*/
|
|
|
|
/* KWIN_HAVE_XRENDER_COMPOSITING - whether XRender-based compositing support is available */
|
|
#cmakedefine KWIN_HAVE_XRENDER_COMPOSITING
|
|
|
|
#cmakedefine01 HAVE_EPOXY_GLX
|
|
|
|
|
|
#endif
|