projects
/
freeglut
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
412dc0b
)
set default FREEGLUT_GLES=ON on android
author
Maciej Sroczyński
<macieksroczynski@poczta.fm>
Wed, 26 Feb 2020 16:29:10 +0000
(16:29 +0000)
committer
Diederick Niehorster
<dcnieho@gmail.com>
Wed, 26 Feb 2020 16:29:10 +0000
(16:29 +0000)
(cherry picked from commit
0a464e7d6ede859c9f155a5f9fb8cf49fd258374
)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1864
7f0cb862
-5218-0410-a997-
914c9d46530a
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
6f403af
..
d3d1d83
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-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)