Merge pull request #78 from Mizzrym1/ANDROID_FREEGLUT_GLES_ON
set default FREEGLUT_GLES=ON on android
This commit is contained in:
commit
b71583835d
@ -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