Commit 3e9811d9 authored by Benjamin Otte's avatar Benjamin Otte

build: Don't try to detect vulkan library if the header wasn't found.

We've already failed. No need to fail again.
parent 4ae50bf3
......@@ -1323,8 +1323,9 @@ fi
if test "x$enable_vulkan" != "xno"; then
AC_CHECK_HEADER([vulkan/vulkan.h], [], [vulkan_error="Vulkan header not found"])
AC_CHECK_LIB([vulkan], [vkCreateInstance], [], [vulkan_error="Vulkan library not found"])
[AC_CHECK_LIB([vulkan], [vkCreateInstance], [], [vulkan_error="Vulkan library not found"])],
[vulkan_error="Vulkan header not found"])
if test "x$vulkan_error" != "x"; then
if "x$enable_vulkan" = "xyes"; then
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment