mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 19:00:08 +00:00
build: Fix vulkan detection
Add missing 'test' https://bugzilla.gnome.org/show_bug.cgi?id=776736
This commit is contained in:
parent
4749eedc08
commit
9629cbfce4
@ -1327,7 +1327,7 @@ if test "x$enable_vulkan" != "xno"; then
|
||||
[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
|
||||
if test "x$enable_vulkan" = "xyes"; then
|
||||
AC_MSG_ERROR($vulkan_error)
|
||||
else
|
||||
AC_MSG_WARN($vulkan_error)
|
||||
|
Loading…
Reference in New Issue
Block a user