1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-12-23 08:08:47 -05:00

Add option to link to OpenGL ES, fixes #1051

This commit is contained in:
Sfan5 2014-01-03 10:17:01 +01:00 committed by Ilya Zhuravlev
parent b8c3221d55
commit 160e2b7b7d

View File

@ -170,7 +170,12 @@ endif()
find_package(Sqlite3 REQUIRED)
find_package(Json REQUIRED)
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)