Fix KWin build failure when OpenGL is disabled and OpenGLES is enabled.
author Michael Palimaka
()
committer Michael Palimaka
()
commit 1554ba408633397066d31c3d565c217b5a385fb8
tree e39a96362d45dd8a91705ac17191e8476cd0f3f1
parent 81e2eb2711b31f74e1baf66043417b6e2d97bf2c
Fix KWin build failure when OpenGL is disabled and OpenGLES is enabled.

Some old restructuring caused -DKWIN_HAVE_OPENGLES to no longer be
passed to the compiler, causing OpenGL-specific code to be built
while the libraries to link it were not available.

REVIEW: 104558
kwin/effects/CMakeLists.txt
kwin/kcmkwin/kwincompositing/CMakeLists.txt
kwin/kcmkwin/kwinscreenedges/CMakeLists.txt