set default FREEGLUT_GLES=ON on android

(cherry picked from commit 0a464e7d6e)

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1864 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
dcnieho 2020-02-26 16:29:10 +00:00
parent b9998bbc1e
commit a5fe10f70c

View File

@ -51,7 +51,11 @@ ELSE()
ENDIF()
# OpenGL ES support
IF(ANDROID)
OPTION(FREEGLUT_GLES "Use OpenGL ES (requires EGL)" ON)
ELSE()
OPTION(FREEGLUT_GLES "Use OpenGL ES (requires EGL)" OFF)
ENDIF()
# option to build either as "glut" (ON) or "freeglut" (OFF)
IF(WIN32)