mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 18:05:37 +00:00
vulkan/build: search for the correct library
SDK 1.0.1 used libvulkan-1.so, 1.0.2 uses libvulkan.so
This commit is contained in:
parent
a3aa0d11ec
commit
82748e9aff
1 changed files with 2 additions and 2 deletions
|
@ -2905,8 +2905,8 @@ translit(dnm, m, l) AM_CONDITIONAL(USE_VULKAN, true)
|
|||
AG_GST_CHECK_FEATURE(VULKAN, [Vulkan elements], vulkan, [
|
||||
HAVE_VULKAN=no
|
||||
AC_CHECK_HEADER(vulkan/vulkan.h, [
|
||||
AC_CHECK_LIB(vulkan-1, vkCreateDevice, [
|
||||
VULKAN_LIBS="-lvulkan-1"
|
||||
AC_CHECK_LIB(vulkan, vkCreateDevice, [
|
||||
VULKAN_LIBS="-lvulkan"
|
||||
AC_SUBST(VULKAN_LIBS)
|
||||
dnl TODO check platform support (x11, win32, wayland, android, etc)
|
||||
if test "x$HAVE_XCB" = "xyes"; then
|
||||
|
|
Loading…
Reference in a new issue