svga: specify include path for git_sha1.h for out-of-src builds
authorBrian Paul <brianp@vmware.com>
Tue, 4 Apr 2017 19:13:33 +0000 (13:13 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 7 Apr 2017 19:46:44 +0000 (13:46 -0600)
If we're doing an out-of-src build, we need to specify the #include
patch to find git_sha1.h

Reviewed-by: Charmaine Lee <charmainel@vmware.com>
src/gallium/drivers/svga/Makefile.am

index d46de95e4b40979fed5f10d3b20b3c310c483396..1ad5e0f91e6e3f2cd505a46c62dabfe477b7bcc8 100644 (file)
@@ -23,6 +23,9 @@
 include Makefile.sources
 include $(top_srcdir)/src/gallium/Automake.inc
 
+AM_CPPFLAGS = \
+       -I$(top_builddir)/src
+
 AM_CFLAGS = \
        $(GALLIUM_DRIVER_CFLAGS) \
        $(MSVC2013_COMPAT_CFLAGS)