ffmpeg | branch: master | Lynne <[email protected]> | Sat Oct 14 18:36:46 2023 
+0200| [fec6e84b18685abd2f8b3192bee560ff52c5220b] | committer: Lynne

configure: disable libglslang/libshaderc if the vulkan is disabled

Fixes build failures when the Vulkan headers are too old and libglslang
or libshaderc are enabled.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=fec6e84b18685abd2f8b3192bee560ff52c5220b
---

 configure | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/configure b/configure
index 7af1d943e5..d203177a74 100755
--- a/configure
+++ b/configure
@@ -7154,6 +7154,10 @@ if enabled vulkan; then
         check_cpp_condition vulkan "vulkan/vulkan.h" "defined(VK_VERSION_1_4) 
|| (defined(VK_VERSION_1_3) && VK_HEADER_VERSION >= 255)"
 fi
 
+if disabled vulkan; then
+    disable libglslang libshaderc spirv_compiler
+fi
+
 if enabled x86; then
     case $target_os in
         mingw32*|mingw64*|win32|win64|linux|cygwin*)

_______________________________________________
ffmpeg-cvslog mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to