|
From: <dc...@us...> - 2020-02-26 16:29:12
|
Revision: 1864
http://sourceforge.net/p/freeglut/code/1864
Author: dcnieho
Date: 2020-02-26 16:29:10 +0000 (Wed, 26 Feb 2020)
Log Message:
-----------
set default FREEGLUT_GLES=ON on android
(cherry picked from commit 0a464e7d6ede859c9f155a5f9fb8cf49fd258374)
Modified Paths:
--------------
trunk/freeglut/freeglut/CMakeLists.txt
Modified: trunk/freeglut/freeglut/CMakeLists.txt
===================================================================
--- trunk/freeglut/freeglut/CMakeLists.txt 2020-02-21 22:25:31 UTC (rev 1863)
+++ trunk/freeglut/freeglut/CMakeLists.txt 2020-02-26 16:29:10 UTC (rev 1864)
@@ -51,7 +51,11 @@
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)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|