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:
parent
dd4db84640
commit
192de3f051
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue