Check Cg with CXX.

This commit is contained in:
Themaister 2011-08-25 09:49:32 +02:00
parent 21f88fcf39
commit 58758d2818
1 changed files with 2 additions and 1 deletions

View File

@ -61,7 +61,8 @@ if [ $HAVE_SDL_NEW = yes ]; then
exit 1
fi
check_lib CG -lCg cgCreateContext
# On some distros, -lCg doesn't link against -lstdc++ it seems ...
check_lib_cxx CG -lCg cgCreateContext
check_pkgconf XML libxml-2.0
check_pkgconf SDL_IMAGE SDL_image