Properly add define for gles
Otherwise some parts still include epoxy/glx.h.
This commit is contained in:
parent
2220ae44c4
commit
2a8d7664b3
1 changed files with 1 additions and 0 deletions
|
@ -257,6 +257,7 @@ endif()
|
||||||
if(${Qt5Gui_OPENGL_IMPLEMENTATION} STREQUAL "GLESv2")
|
if(${Qt5Gui_OPENGL_IMPLEMENTATION} STREQUAL "GLESv2")
|
||||||
set(KWIN_BUILD_OPENGLES TRUE)
|
set(KWIN_BUILD_OPENGLES TRUE)
|
||||||
message("Building KWin with OpenGL ES 2 support")
|
message("Building KWin with OpenGL ES 2 support")
|
||||||
|
add_definitions(-DKWIN_HAVE_OPENGLES)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(NOT KWIN_BUILD_OPENGL AND NOT KWIN_BUILD_OPENGLES)
|
if(NOT KWIN_BUILD_OPENGL AND NOT KWIN_BUILD_OPENGLES)
|
||||||
|
|
Loading…
Reference in a new issue