Fix compilation of KCMs to not link against GLES
author Martin Gräßlin
()
committer Martin Gräßlin
()
commit 08c10bf6961dbb97e3ff0bc5ae14c3e746ca4980
tree ec8a3c04c99aff50cf61d9f6aa9682cd0c76f94c
parent 19c0fa5abd90a46de2ef6949a15de31111f930f4
Fix compilation of KCMs to not link against GLES

If both GL and GLES are present, the KCMs are build against
GLES, which is causing trouble.

This fixes the changes introduced with
1554ba408633397066d31c3d565c217b5a385fb8.

BUG: 300768
FIXED-IN: 4.8.4
REVIEW: 105098
kwin/kcmkwin/kwincompositing/CMakeLists.txt
kwin/kcmkwin/kwinscreenedges/CMakeLists.txt