From: Juan A. Suarez Romero Date: Mon, 13 Mar 2017 15:04:20 +0000 (+0100) Subject: vulkan/wsi: include builddir for generated headers X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=192de3f051c70ff1404369f88ae2d55f1ffcf806;p=mesa.git 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 --- 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