Fix the configure check for Vulkan
GDK_WINDOWING_VULKAN was getting defined regardless of the tests.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user