From: Hilko Bengen <bengen@debian.org>
Date: Sat, 3 Dec 2016 17:30:19 +0100
Subject: Use Debian's googletest package

---
 tests/Makefile.am | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/Makefile.am b/tests/Makefile.am
index 19a84f0..0026c4b 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -3,7 +3,7 @@ ACLOCAL_AMFLAGS = -I m4
 # This is so we can #include <package/foo>
 AM_CPPFLAGS = -I$(top_srcdir)/src \
   -I$(top_srcdir)/tests \
-  -I$(top_srcdir)/third_party/gtest/ -I$(top_srcdir)/third_party/gtest/include
+  -I/usr/src/googletest/googletest
 
 # These are good warnings to turn on by default
 if GCC
@@ -34,7 +34,7 @@ noinst_SCRIPTS =
 # Libraries that are built but not installed.
 noinst_LTLIBRARIES = libgtest.la
 
-libgtest_la_SOURCES = $(top_srcdir)/third_party/gtest/src/gtest-all.cc
+libgtest_la_SOURCES = /usr/src/googletest/googletest/src/gtest-all.cc
 libgtest_la_CXXFLAGS = -g -Wall -O0 -pthread
 libgtest_la_LIBADD = -lpthread
 
