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:
parent
b9998bbc1e
commit
a5fe10f70c
@ -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)
|
||||
|
Reference in New Issue
Block a user