vulkan/overlay: fix includes
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Fri, 22 Feb 2019 12:54:53 +0000 (12:54 +0000)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Tue, 26 Feb 2019 12:29:54 +0000 (12:29 +0000)
commit964675082231963816a60271390bd04d561888fd
tree607ab655124e41ad489b987817acc86f9950c8a4
parent47ef52d333afabb70910e7af20df1746eda640d3
vulkan/overlay: fix includes

The Loader/Validation-Layers repository allow the user to choose where
header files are installed. On my system I choose /usr/include
thinking it was the obvious "base" location, but it turns out the
headers end up being installed right there rather in a vulkan
subdirectory. On Debian/Ubuntu the selected installation path is
/usr/include/vulkan, so just go with that.

Hopefully other distro don't choose another path.

Note that the validation layer doesn't provide a .pc file so we have
no way of querying where the headers are installed.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=109739
Acked-by: Eric Engestrom <eric.engestrom@intel.com>
src/vulkan/overlay-layer/overlay.cpp
src/vulkan/overlay-layer/vk_layer_table.cpp
src/vulkan/overlay-layer/vk_layer_table.h