If we are using OpenGL ES 3, then don't check for OpenGL/GLU

This commit is contained in:
Ryan Houdek 2013-12-12 13:42:15 -06:00
parent 7ff429152d
commit c21003feab

View File

@ -350,11 +350,13 @@ endif()
if(NOT ANDROID)
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)
if(ALSA_FOUND)