set default FREEGLUT_GLES=ON on android

This commit is contained in:
Maciej Sroczyński 2020-02-15 18:39:49 +01:00
parent bbd69d646f
commit 0a464e7d6e

View File

@ -51,7 +51,11 @@ ELSE()
ENDIF()
# OpenGL ES support
OPTION(FREEGLUT_GLES "Use OpenGL ES (requires EGL)" OFF)
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)