mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
build: Try "vulkan-1" as the Vulkan library.
Somewhat unconventionally, the official Vulkan import library is called "vulkan-1.lib" on Windows. Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
a5daebbda9
commit
9a2b3bac58
@ -96,10 +96,14 @@ VKD3D_CHECK_PTHREAD
|
||||
AC_SUBST([VULKAN_LIBS])
|
||||
VKD3D_CHECK_SONAME([vulkan], [vkGetInstanceProcAddr],
|
||||
[VULKAN_LIBS="-lvulkan"],
|
||||
[VKD3D_CHECK_SONAME([vulkan-1], [vkGetInstanceProcAddr],
|
||||
[VULKAN_LIBS="-lvulkan-1"
|
||||
AC_DEFINE_UNQUOTED([SONAME_LIBVULKAN], ["$ac_cv_lib_soname_vulkan_1"])],
|
||||
[VKD3D_CHECK_SONAME([MoltenVK], [vkGetInstanceProcAddr],
|
||||
[VULKAN_LIBS="-lMoltenVK"
|
||||
AC_DEFINE_UNQUOTED([SONAME_LIBVULKAN],["$ac_cv_lib_soname_MoltenVK"])],
|
||||
[AC_MSG_ERROR([libvulkan and libMoltenVK not found.])])])
|
||||
AC_DEFINE_UNQUOTED([SONAME_LIBVULKAN],
|
||||
["$ac_cv_lib_soname_MoltenVK"])],
|
||||
[AC_MSG_ERROR([libvulkan and libMoltenVK not found.])])])])
|
||||
|
||||
AS_IF([test "x$with_spirv_tools" = "xyes"],
|
||||
[PKG_CHECK_MODULES([SPIRV_TOOLS], [SPIRV-Tools-shared],
|
||||
|
Loading…
Reference in New Issue
Block a user