[Mesa-dev] [PATCH] anv: add the main include directory back
Grazvydas Ignotas
notasas at gmail.com
Fri Mar 17 22:05:46 UTC 2017
Fixes build without vulkan.h installed in system header locations:
CC vulkan/vulkan_libvulkan_intel_la-anv_gem.lo
In file included from vulkan/anv_private.h:66:0,
from vulkan/anv_gem.c:31:
/opt/xorg/include/vulkan/vulkan_intel.h:27:20: fatal error: vulkan.h:
No such file or directory
Fixes: ee8044fd "intel/vulkan: Get rid of recursive make"
Cc: Emil Velikov <emil.velikov at collabora.com>
Signed-off-by: Grazvydas Ignotas <notasas at gmail.com>
---
src/intel/Makefile.vulkan.am | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/intel/Makefile.vulkan.am b/src/intel/Makefile.vulkan.am
index 1857802..e7c1ac7 100644
--- a/src/intel/Makefile.vulkan.am
+++ b/src/intel/Makefile.vulkan.am
@@ -85,6 +85,7 @@ VULKAN_CFLAGS = \
-msse2
VULKAN_CPPFLAGS = \
+ -I$(top_srcdir)/include \
-I$(top_srcdir)/src/compiler \
-I$(top_srcdir)/src/intel/compiler \
-I$(top_builddir)/src/intel/vulkan \
--
2.7.4
More information about the mesa-dev
mailing list