mirror of
https://mirror.skon.top/https://github.com/FFmpeg/FFmpeg
synced 2026-04-20 21:00:41 +08:00
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:
2
configure
vendored
2
configure
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user