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,10 +350,12 @@ endif()
if(NOT ANDROID) if(NOT ANDROID)
include(FindOpenGL) if(NOT USE_GLES3)
include_directories(${OPENGL_INCLUDE_DIR}) include(FindOpenGL)
if(NOT OPENGL_GLU_FOUND) include_directories(${OPENGL_INCLUDE_DIR})
message(FATAL_ERROR "GLU is required but not found") if(NOT OPENGL_GLU_FOUND)
message(FATAL_ERROR "GLU is required but not found")
endif()
endif() endif()
include(FindALSA OPTIONAL) include(FindALSA OPTIONAL)