From 192de3f051c70ff1404369f88ae2d55f1ffcf806 Mon Sep 17 00:00:00 2001 From: "Juan A. Suarez Romero" Date: Mon, 13 Mar 2017 16:04:20 +0100 Subject: [PATCH] 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 --- src/vulkan/Makefile.am | 1 + 1 file changed, 1 insertion(+) 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 -- 2.30.2