Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
If we are using OpenGL ES 3, then don't check for OpenGL/GLU
  • Loading branch information
Sonicadvance1 committed Dec 12, 2013
1 parent 7ff4291 commit c21003f
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions CMakeLists.txt
Expand Up @@ -350,10 +350,12 @@ endif()

if(NOT ANDROID)

include(FindOpenGL)
include_directories(${OPENGL_INCLUDE_DIR})
if(NOT OPENGL_GLU_FOUND)
message(FATAL_ERROR "GLU is required but not found")
if(NOT USE_GLES3)
include(FindOpenGL)
include_directories(${OPENGL_INCLUDE_DIR})
if(NOT OPENGL_GLU_FOUND)
message(FATAL_ERROR "GLU is required but not found")
endif()
endif()

include(FindALSA OPTIONAL)
Expand Down

0 comments on commit c21003f

Please sign in to comment.