Mesa (master): vulkan/wsi: include builddir for generated headers
Juan Antonio Suárez Romero
jasuarez at kemper.freedesktop.org
Mon Mar 13 15:05:24 UTC 2017
Module: Mesa
Branch: master
Commit: 192de3f051c70ff1404369f88ae2d55f1ffcf806
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=192de3f051c70ff1404369f88ae2d55f1ffcf806
Author: Juan A. Suarez Romero <jasuarez at igalia.com>
Date: Mon Mar 13 16:04:20 2017 +0100
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 at collabora.com>
---
src/vulkan/Makefile.am | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/vulkan/Makefile.am b/src/vulkan/Makefile.am
index f8d6fae..bd66901 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
More information about the mesa-commit
mailing list