From fe4ef69aafaa031744177a47d5cd59600730fd4b Mon Sep 17 00:00:00 2001 From: Alcaro Date: Tue, 10 May 2016 18:51:39 +0200 Subject: [PATCH] Better check this one too. (Vulkan is the only user of that, right?) --- qb/config.libs.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/qb/config.libs.sh b/qb/config.libs.sh index 04cdff7566..a58f88f77b 100644 --- a/qb/config.libs.sh +++ b/qb/config.libs.sh @@ -403,6 +403,12 @@ if [ "$HAVE_VULKAN" != 'no' ] && [ ! -e deps/glslang/glslang/README.md ]; then HAVE_VULKAN=no fi +if [ "$HAVE_VULKAN" != 'no' ] && [ ! -e deps/SPIRV-Cross/README.md ]; then + echo "Warning: SPIRV-Cross submodule not loaded, can't use Vulkan." + echo "To fix, use: git submodule init && git submodule update" + HAVE_VULKAN=no +fi + check_pkgconf PYTHON python3 if [ "$HAVE_MATERIALUI" != 'no' ] || [ "$HAVE_XMB" != 'no' ] || [ "$HAVE_ZARCH" != 'no' ]; then