Properly add define for gles

Otherwise some parts still include epoxy/glx.h.
icc-effect-5.14.5
Martin Gräßlin 2015-05-07 14:11:30 +02:00
parent 2220ae44c4
commit 2a8d7664b3
1 changed files with 1 additions and 0 deletions

View File

@ -257,6 +257,7 @@ endif()
if(${Qt5Gui_OPENGL_IMPLEMENTATION} STREQUAL "GLESv2")
set(KWIN_BUILD_OPENGLES TRUE)
message("Building KWin with OpenGL ES 2 support")
add_definitions(-DKWIN_HAVE_OPENGLES)
endif()
if(NOT KWIN_BUILD_OPENGL AND NOT KWIN_BUILD_OPENGLES)