diff --git a/qb/config.libs.sh b/qb/config.libs.sh index e4dcd402a5..7db8974602 100644 --- a/qb/config.libs.sh +++ b/qb/config.libs.sh @@ -218,6 +218,9 @@ if [ "$HAVE_OPENGL" != 'no' ] && [ "$HAVE_GLES" != 'yes' ]; then check_lib_cxx CG -lCg cgCreateContext [ "$HAVE_CG" = 'yes' ] && CG_LIBS='-lCg -lCgGL' fi + + # fix undefined variables + PKG_CONF_USED+=CG else echo "Ignoring Cg. Desktop OpenGL is not enabled." HAVE_CG='no'