vulkan: Use the generated version of vkconfig.h
authorJussi Kukkonen <jussi.kukkonen@intel.com>
Wed, 5 Jul 2017 08:07:05 +0000 (11:07 +0300)
committerMatthew Waters <matthew@centricular.com>
Mon, 10 Jul 2017 11:42:49 +0000 (21:42 +1000)
commit97b0085c489a475ac498c6bddf81131a5197d75d
tree61a8c18b1a35f6379602cf08e1e55dd68f2925c0
parent9c6d36984f11edf7a9dacca96488a64c6478444b
vulkan: Use the generated version of vkconfig.h

Build fails in ext/vulkan/xcb and ext/vulkan/wayland when:
* building from tarball
* building out-of-tree
* Only one WSI integration (xcb or wayland) is enabled by configure.ac
This is because vkconfig.h from source directory gets used instead
of the generated one.

Add the correct build directory to "-I". Use angle bracket
include in vkapi.h so that it actually looks in the include search
path instead of defaulting to the same (source tree) directory.

https://bugzilla.gnome.org/show_bug.cgi?id=784539
ext/vulkan/vkapi.h
ext/vulkan/wayland/Makefile.am
ext/vulkan/xcb/Makefile.am