Merge pull request #78 from Mizzrym1/ANDROID_FREEGLUT_GLES_ON

set default FREEGLUT_GLES=ON on android
This commit is contained in:
Diederick C. Niehorster 2020-02-26 17:21:11 +01:00 committed by GitHub
commit b71583835d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)