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()
|
ENDIF()
|
||||||
|
|
||||||
# OpenGL ES support
|
# OpenGL ES support
|
||||||
|
IF(ANDROID)
|
||||||
|
OPTION(FREEGLUT_GLES "Use OpenGL ES (requires EGL)" ON)
|
||||||
|
ELSE()
|
||||||
OPTION(FREEGLUT_GLES "Use OpenGL ES (requires EGL)" OFF)
|
OPTION(FREEGLUT_GLES "Use OpenGL ES (requires EGL)" OFF)
|
||||||
|
ENDIF()
|
||||||
|
|
||||||
# option to build either as "glut" (ON) or "freeglut" (OFF)
|
# option to build either as "glut" (ON) or "freeglut" (OFF)
|
||||||
IF(WIN32)
|
IF(WIN32)
|
||||||
|
Reference in New Issue
Block a user