From: Adrian Negreanu <adrian.m.negre...@intel.com>

version.h is -include-ed assuming that builddir is the same
as srcdir;

In file included from <command-line>:0:0:
./../../tests/../lib/check-ndebug.h:3:1: fatal error:
../../tests/../version.h: No such file or directory
 #endif
  ^

Signed-off-by: Adrian Negreanu <adrian.m.negre...@intel.com>
---
 tests/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/Makefile.am b/tests/Makefile.am
index aadcbc8..ddb0fd7 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -24,7 +24,7 @@ AM_CFLAGS = $(DRM_CFLAGS) $(CWARNFLAGS) \
        -I$(srcdir)/.. \
        -I$(srcdir)/../lib \
        -include "$(srcdir)/../lib/check-ndebug.h" \
-       -include "$(srcdir)/../version.h" \
+       -include "$(builddir)/version.h" \
        -DIGT_DATADIR=\""$(abs_srcdir)"\" \
        $(NULL)
 
-- 
1.9.0

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to