Skip to content

Commit

Permalink
Add option to link to OpenGL ES, fixes #1051
Browse files Browse the repository at this point in the history
  • Loading branch information
sfan5 authored and Ilya Zhuravlev committed Jan 5, 2014
1 parent b8c3221 commit 160e2b7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/CMakeLists.txt
Expand Up @@ -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)
Expand Down

0 comments on commit 160e2b7

Please sign in to comment.