57d11c134a
Second part of cleaning up the lib directory: the effects library now lives in libkwineffects/ directory. For existing effects nothing changes as the install path is unchanged. The change obsoletes the lib/ directory. As glplatform.h has not yet been exported I dared to export it and adjust the places where it is used. CCMAIL: kwin@kde.org
47 lines
1.1 KiB
CMake
47 lines
1.1 KiB
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
|
|
|
|
#if ${HAVE_OPENGL}
|
|
#define KWIN_HAVE_OPENGL 1
|
|
#else
|
|
#undef KWIN_HAVE_OPENGL
|
|
#endif
|
|
|
|
#if ${KWIN_HAVE_OPENGLES}
|
|
#define KWIN_HAVE_OPENGLES 1
|
|
#ifndef KWIN_HAVE_OPENGL
|
|
#define KWIN_HAVE_OPENGL 1
|
|
#endif
|
|
#else
|
|
#undef KWIN_HAVE_OPENGLES
|
|
#endif
|
|
|
|
/*
|
|
|
|
These should be primarily used to detect what kind of compositing
|
|
support is available.
|
|
|
|
*/
|
|
|
|
/* KWIN_HAVE_COMPOSITING - whether any compositing support is available */
|
|
#cmakedefine KWIN_HAVE_COMPOSITING
|
|
|
|
/* KWIN_HAVE_OPENGL_COMPOSITING - whether OpenGL-based compositing support is available */
|
|
#cmakedefine KWIN_HAVE_OPENGL_COMPOSITING
|
|
|
|
/* KWIN_HAVE_OPENGLES_COMPOSITING - whether OpenGL ES-based compositing support is available */
|
|
#cmakedefine KWIN_HAVE_OPENGLES_COMPOSITING
|
|
|
|
/* KWIN_HAVE_XRENDER_COMPOSITING - whether XRender-based compositing support is available */
|
|
#cmakedefine KWIN_HAVE_XRENDER_COMPOSITING
|
|
|
|
|
|
#endif
|