build: Add $(top_srcdir)/src/compiler/spirv to AM_CPPFLAGS
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 18 Jul 2017 18:09:37 +0000 (11:09 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 18 Jul 2017 18:14:47 +0000 (11:14 -0700)
commitc2bb39d8d6eaf391d917db94ca671a6261800359
tree33504299c866a496e4b80b8fea484514a7aefcf4
parentecec21add21c1eaf7e51ae8d3a63db8eddf68afc
build: Add $(top_srcdir)/src/compiler/spirv to AM_CPPFLAGS

Generated C files try to include spirv_info.h.  For in-tree builds,
the header is in the same directory, so it just works.  For out-of-tree
builds, we need to look for it in srcdir rather than builddir.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=101831
Acked-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/compiler/Makefile.am