mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-26 09:16:34 +00:00
fix out-of-tree builds
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 ^ v2: Use top_builddir as suggested by Damien - builddir gets expanded to ./ which worked accidentally since automake includes top_builddir by default. Signed-off-by: Adrian Negreanu <adrian.m.negreanu@intel.com> (v1) Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
701a755bde
commit
20dbc5d4cf
@ -24,7 +24,7 @@ AM_CFLAGS = $(DRM_CFLAGS) $(CWARNFLAGS) \
|
|||||||
-I$(srcdir)/.. \
|
-I$(srcdir)/.. \
|
||||||
-I$(srcdir)/../lib \
|
-I$(srcdir)/../lib \
|
||||||
-include "$(srcdir)/../lib/check-ndebug.h" \
|
-include "$(srcdir)/../lib/check-ndebug.h" \
|
||||||
-include "$(srcdir)/../version.h" \
|
-include "$(top_builddir)/version.h" \
|
||||||
-DIGT_DATADIR=\""$(abs_srcdir)"\" \
|
-DIGT_DATADIR=\""$(abs_srcdir)"\" \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user