Building the workspaces requires to have all the build dependencies which were required for KWIN_HAVE_COMPOSITING to be set. This allows us to remove all the ifdefs for this and gives us a cleaner code.
26 lines
592 B
CMake
26 lines
592 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_OPENGL_COMPOSITING - whether OpenGL-based compositing support is available */
|
|
#cmakedefine KWIN_HAVE_OPENGL_COMPOSITING
|
|
|
|
/* KWIN_HAVE_XRENDER_COMPOSITING - whether XRender-based compositing support is available */
|
|
#cmakedefine KWIN_HAVE_XRENDER_COMPOSITING
|
|
|
|
|
|
#endif
|