diff options
author | Kenneth Graunke <[email protected]> | 2017-07-18 11:09:37 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2017-07-18 11:14:47 -0700 |
commit | c2bb39d8d6eaf391d917db94ca671a6261800359 (patch) | |
tree | 33504299c866a496e4b80b8fea484514a7aefcf4 | |
parent | ecec21add21c1eaf7e51ae8d3a63db8eddf68afc (diff) |
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 <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
-rw-r--r-- | src/compiler/Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/Makefile.am b/src/compiler/Makefile.am index 4c83365094b..001ff81aeb0 100644 --- a/src/compiler/Makefile.am +++ b/src/compiler/Makefile.am @@ -33,6 +33,7 @@ AM_CPPFLAGS = \ -I$(top_srcdir)/src/compiler/glsl/glcpp\ -I$(top_builddir)/src/compiler/nir \ -I$(top_srcdir)/src/compiler/nir \ + -I$(top_srcdir)/src/compiler/spirv \ -I$(top_srcdir)/src/gallium/include \ -I$(top_srcdir)/src/gallium/auxiliary \ -I$(top_srcdir)/src/gtest/include \ |