projects
/
zefram
/
minetest
/
minetest_engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8c3221
)
Add option to link to OpenGL ES, fixes #1051
author
Sfan5
<sfan5@live.de>
Fri, 3 Jan 2014 09:17:01 +0000
(10:17 +0100)
committer
Ilya Zhuravlev
<zhuravlevilya@ya.ru>
Sun, 5 Jan 2014 16:50:55 +0000
(20:50 +0400)
src/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/src/CMakeLists.txt
b/src/CMakeLists.txt
index 90f5867856b6029b2fe2d76c75491e65cfbfe36f..6418b3b26dd15e1f8f4598d4b24dea3b076a6089 100644
(file)
--- a/
src/CMakeLists.txt
+++ b/
src/CMakeLists.txt
@@
-170,7
+170,12
@@
endif()
find_package(Sqlite3 REQUIRED)
find_package(Json REQUIRED)
-find_package(OpenGLES2)
+
+option(ENABLE_GLES "Enable OpenGL ES support" 0)
+mark_as_advanced(ENABLE_GLES)
+if(ENABLE_GLES)
+ find_package(OpenGLES2)
+endif(ENABLE_GLES)
if(USE_FREETYPE)
find_package(Freetype REQUIRED)