From: Emil Velikov Date: Mon, 14 Oct 2013 16:14:41 +0000 (+0100) Subject: swrast: add correct include for out-of-tree builds X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cd3fa176a8dbae3e14c9426e7fbe13baa6e84256;p=mesa.git swrast: add correct include for out-of-tree builds The xmlpool/options.h file was not accessible when building out-of-tree leading to failure. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=70378 Reported-by: Fabio Pedretti Tested-by: Fabio Pedretti Tested-by: Andre Heider Signed-off-by: Emil Velikov Reviewed-by: Brian Paul Reviewed-by: Andreas Boll --- diff --git a/src/gallium/targets/dri-swrast/Makefile.am b/src/gallium/targets/dri-swrast/Makefile.am index 5d2f1463868..6b629df307d 100644 --- a/src/gallium/targets/dri-swrast/Makefile.am +++ b/src/gallium/targets/dri-swrast/Makefile.am @@ -33,6 +33,7 @@ AM_CPPFLAGS = \ -I$(top_srcdir)/src/gallium/winsys \ -I$(top_srcdir)/src/mesa \ -I$(top_srcdir)/src/mapi \ + -I$(top_builddir)/src/mesa/drivers/dri/common \ -DGALLIUM_RBUG \ -DGALLIUM_TRACE \ -DGALLIUM_SOFTPIPE \ diff --git a/src/mesa/drivers/dri/swrast/Makefile.am b/src/mesa/drivers/dri/swrast/Makefile.am index 9652583f2ca..c51ad2d874b 100644 --- a/src/mesa/drivers/dri/swrast/Makefile.am +++ b/src/mesa/drivers/dri/swrast/Makefile.am @@ -30,6 +30,7 @@ AM_CFLAGS = \ -I$(top_srcdir)/src/mapi \ -I$(top_srcdir)/src/mesa/ \ -I$(top_srcdir)/src/mesa/drivers/dri/common \ + -I$(top_builddir)/src/mesa/drivers/dri/common \ $(DEFINES) \ $(VISIBILITY_CFLAGS)