Mesa (master): build: Fix gtest out-of-tree build

Matt Turner mattst88 at kemper.freedesktop.org
Tue Aug 14 18:33:34 UTC 2012


Module: Mesa
Branch: master
Commit: 2191a79b4e66be0fd31371989505eec63b07899d
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2191a79b4e66be0fd31371989505eec63b07899d

Author: Matt Turner <mattst88 at gmail.com>
Date:   Wed Aug  1 14:07:00 2012 -0700

build: Fix gtest out-of-tree build

Introduced by 3d000e7dd.

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

---

 src/gtest/Makefile.am |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/gtest/Makefile.am b/src/gtest/Makefile.am
index 3824d71..7defa34 100644
--- a/src/gtest/Makefile.am
+++ b/src/gtest/Makefile.am
@@ -19,8 +19,8 @@
 # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
 # IN THE SOFTWARE.
 
-AM_CFLAGS = $(DEFINES) -I$(top_builddir)/src/gtest/include
-AM_CXXFLAGS = $(DEFINES) -I$(top_builddir)/src/gtest/include
+AM_CFLAGS = $(DEFINES) -I$(top_srcdir)/src/gtest/include
+AM_CXXFLAGS = $(DEFINES) -I$(top_srcdir)/src/gtest/include
 
 noinst_LTLIBRARIES = libgtest.la
 




More information about the mesa-commit mailing list