cmake: Also check for some gl headers.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Fri, 8 Feb 2008 14:30:25 +0000 (14:30 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Fri, 8 Feb 2008 14:30:25 +0000 (14:30 +0000)
extras/buildsystem/cmake/include/config.cmake

index ae7b8b2..f95b001 100644 (file)
@@ -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)