(qb) Add check for GL/gl.h

This commit is contained in:
Higor Eurípedes 2015-06-16 21:25:55 -03:00
parent 38be1d90d7
commit 134364ad1a

View File

@ -247,6 +247,7 @@ if [ "$HAVE_OPENGL" != 'no' ] && [ "$HAVE_GLES" != 'yes' ]; then
# On some distros, -lCg doesn't link against -lstdc++ it seems ...
check_lib_cxx CG -lCg cgCreateContext
check_lib OPENGL -lGL
check_header OPENGL "GL/gl.h"
[ "$HAVE_CG" = 'yes' ] && CG_LIBS='-lCg -lCgGL'
fi