CMakeLists.txt
changeset 9854 dbcbdc2940ef
parent 9853 3d08cb641cd5
child 9979 e3d651c5fe31
     1.1 --- a/CMakeLists.txt	Fri Aug 28 19:05:24 2015 -0300
     1.2 +++ b/CMakeLists.txt	Fri Aug 28 19:10:46 2015 -0300
     1.3 @@ -1027,6 +1027,13 @@
     1.4        set(SDL_VIDEO_RENDER_OGL 1)
     1.5        set(HAVE_VIDEO_OPENGL TRUE)
     1.6      endif()
     1.7 +
     1.8 +    if(VIDEO_OPENGLES)
     1.9 +      set(SDL_VIDEO_OPENGL_EGL 1)
    1.10 +      set(SDL_VIDEO_OPENGL_ES2 1)
    1.11 +      set(SDL_VIDEO_RENDER_OGL_ES2 1)
    1.12 +      set(HAVE_VIDEO_OPENGLES TRUE)
    1.13 +    endif()
    1.14    endif()
    1.15  
    1.16    if(SDL_JOYSTICK)