mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
Add option to link to OpenGL ES, fixes #1051
This commit is contained in:
parent
b8c3221d55
commit
160e2b7b7d
1 changed files with 6 additions and 1 deletions
|
@ -170,7 +170,12 @@ endif()
|
||||||
|
|
||||||
find_package(Sqlite3 REQUIRED)
|
find_package(Sqlite3 REQUIRED)
|
||||||
find_package(Json 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)
|
if(USE_FREETYPE)
|
||||||
find_package(Freetype REQUIRED)
|
find_package(Freetype REQUIRED)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue