build: Fix gtest out-of-tree build
[mesa.git] / src / gtest / Makefile.am
index 3824d712075a2f1ab4fa7ee735180c4e9df0a74f..7defa342d05d8a52980366d8fc86287d2e8b4299 100644 (file)
@@ -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