diff options
author | Kristian Høgsberg Kristensen <[email protected]> | 2016-02-10 15:49:25 -0800 |
---|---|---|
committer | Kristian Høgsberg Kristensen <[email protected]> | 2016-02-10 15:54:28 -0800 |
commit | 9cc939d82f2de83133010545af0c2f519a13d064 (patch) | |
tree | d3fed4361351419f86d6da3bcc492bca16a1c923 /src/compiler | |
parent | 9be5a4bc29bb911728bc82718571d771c74602ab (diff) |
nir: Fix out-of-tree build for spirv2nir
This needs to be able to find the generated nir_opcodes.h header.
Diffstat (limited to 'src/compiler')
-rw-r--r-- | src/compiler/Makefile.am | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/compiler/Makefile.am b/src/compiler/Makefile.am index fe96cb3c879..8f374484696 100644 --- a/src/compiler/Makefile.am +++ b/src/compiler/Makefile.am @@ -179,6 +179,11 @@ glsl_glsl_test_LDADD = \ spirv2nir_SOURCES = \ nir/spirv2nir.c +spirv2nir_CPPFLAGS = \ + $(AM_CPPFLAGS) \ + -I$(top_builddir)/src/compiler/nir \ + -I$(top_srcdir)/src/compiler/nir + spirv2nir_LDADD = \ nir/libnir.la \ $(top_builddir)/src/util/libmesautil.la \ |