Skip to content

Commit

Permalink
configure: autodetect vulkan
Browse files Browse the repository at this point in the history
  • Loading branch information
cyanreg committed Dec 21, 2021
1 parent 155dcfe commit fa2e460
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ External library support:
--disable-securetransport disable Secure Transport, needed for TLS support
on OSX if openssl and gnutls are not used [autodetect]
--enable-vapoursynth enable VapourSynth demuxer [no]
--enable-vulkan enable Vulkan code [no]
--disable-vulkan disable Vulkan code [autodetect]
--disable-xlib disable xlib [autodetect]
--disable-zlib disable zlib [autodetect]
Expand Down Expand Up @@ -1897,6 +1897,7 @@ HWACCEL_AUTODETECT_LIBRARY_LIST="
vaapi
vdpau
videotoolbox
vulkan
v4l2_m2m
xvmc
"
Expand All @@ -1919,7 +1920,6 @@ HWACCEL_LIBRARY_LIST="
mmal
omx
opencl
vulkan
"

DOCUMENT_LIST="
Expand Down Expand Up @@ -6915,7 +6915,7 @@ enabled crystalhd && check_lib crystalhd "stdint.h libcrystalhd/libcrystalhd_if.

if enabled vulkan; then
check_pkg_config_header_only vulkan "vulkan >= 1.2.189" "vulkan/vulkan.h" "defined VK_VERSION_1_2" ||
require_cpp_condition vulkan "vulkan/vulkan.h" "defined VK_VERSION_1_2"
check_cpp_condition vulkan "vulkan/vulkan.h" "defined VK_VERSION_1_2"
fi

if enabled x86; then
Expand Down

0 comments on commit fa2e460

Please sign in to comment.