Commit e1d3a964 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

cmake: Also check for some gl headers.

parent 0c73048c
......@@ -403,6 +403,9 @@ endif(Qt4_FOUND)
find_package(OpenGL)
if(OPENGL_FOUND)
vlc_enable_modules(opengl)
vlc_check_include_files (gl/gl.h)
vlc_check_include_files (gl/glu.h)
vlc_check_include_files (gl/glx.h)
vlc_add_module_compile_flag(opengl ${OPENGL_CFLAGS})
vlc_module_add_link_libraries(opengl ${OPENGL_LIBRARIES})
endif(OPENGL_FOUND)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment