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 <emil.velikov@collabora.com>
This commit is contained in:
Juan A. Suarez Romero 2017-03-13 16:04:20 +01:00
parent dd4db84640
commit 192de3f051
1 changed files with 1 additions and 0 deletions

View File

@ -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