Commit 17c8ebc4 authored by Matthias Clasen's avatar Matthias Clasen

Fix the configure check for Vulkan

GDK_WINDOWING_VULKAN was getting defined regardless of the tests.
parent f52dd125
......@@ -1325,7 +1325,7 @@ if test "x$enable_vulkan" != "xno"; then
vulkan_error=""
AC_CHECK_HEADER([vulkan/vulkan.h], [], [vulkan_error="Vulkan header not found"])
AC_CHECK_LIB([vulkan], [vkCreateInstance], [], [vulkan_error="Vulkan library not found"])
if test "x$vulkan_result" != "x"; then
if test "x$vulkan_error" != "x"; then
if "x$enable_vulkan" = "xyes"; then
AC_MSG_ERROR($vulkan_error)
else
......
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