configure: only warn about spirv-headers if vulkan was explicitly requested

Given it's autodected by default, its checks should not print warnings nor abort the process.

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer
2026-04-08 12:29:28 -03:00
parent 58752ffcdd
commit 4c69c5f156

2
configure vendored
View File

@@ -7866,7 +7866,7 @@ fi
if enabled vulkan; then
check_headers spirv-headers/spirv.h ||
check_headers spirv/unified1/spirv.h ||
warn "spirv-headers not found, swscale SPIR-V backend unavailable"
{ requested vulkan && warn "spirv-headers not found, swscale SPIR-V backend unavailable"; }
fi
if enabled x86; then