summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuan A. Suarez Romero <[email protected]>2017-03-13 16:04:20 +0100
committerJuan A. Suarez Romero <[email protected]>2017-03-13 16:04:20 +0100
commit192de3f051c70ff1404369f88ae2d55f1ffcf806 (patch)
tree55d54cfcc86dac410c39c097a61b5646f23c0595
parentdd4db84640bbb694f180dd50850c3388f67228be (diff)
vulkan/wsi: include builddir for generated headers
wayland-drm-client-protocol.h is generated in builddir, so when builddir != srcdir the header is not found, and compilation of wsi_common_wayland.c will fail. Reviewed-by: Emil Velikov <[email protected]>
-rw-r--r--src/vulkan/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vulkan/Makefile.am b/src/vulkan/Makefile.am
index f8d6fae40b4..bd66901255d 100644
--- a/src/vulkan/Makefile.am
+++ b/src/vulkan/Makefile.am
@@ -63,6 +63,7 @@ wsi/wayland-drm-client-protocol.h : $(WL_DRM_XML)
if HAVE_PLATFORM_WAYLAND
AM_CPPFLAGS += \
+ -I$(top_builddir)/src/vulkan/wsi \
$(WAYLAND_CFLAGS) \
-DVK_USE_PLATFORM_WAYLAND_KHR