CMakeLists.txt
changeset 11723 bc7ca7cfa6ca
parent 11707 7960a740a126
child 11726 27d08f1aab80
     1.1 --- a/CMakeLists.txt	Mon Dec 04 20:26:09 2017 -0800
     1.2 +++ b/CMakeLists.txt	Mon Dec 04 20:35:01 2017 -0800
     1.3 @@ -1486,6 +1486,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    endif()
    1.16