clover: Include generated sources in AM_CPPFLAGS
authorAaron Watry <awatry@gmail.com>
Tue, 14 Jun 2016 02:46:33 +0000 (21:46 -0500)
committerMichel Dänzer <michel.daenzer@amd.com>
Tue, 14 Jun 2016 03:04:42 +0000 (12:04 +0900)
git_sha1.c is generated in $(top_builddir)/src.

Fixes out-of-tree builds since 4825264f75c83576.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=96516
Signed-off-by: Aaron Watry <awatry@gmail.com>
Reviewed-and-Tested-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/state_trackers/clover/Makefile.am

index 4c9d7d9..d0b1914 100644 (file)
@@ -7,6 +7,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/gallium/drivers \
        -I$(top_srcdir)/src/gallium/auxiliary \
        -I$(top_srcdir)/src/gallium/winsys \
+       -I$(top_builddir)/src \
        -I$(srcdir)
 
 if HAVE_CLOVER_ICD