Commit 820efee3 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

Fix tests build when googletest isn't installed by the distribution

parent 4e039f6a
......@@ -205,7 +205,8 @@ libgtestmain_la_SOURCES = \
googletest/src/gtest_main.cc
libgtest_la_CPPFLAGS = \
-I$(top_srcdir)/googletest
-I$(top_srcdir)/googletest \
-I$(top_srcdir)/googletest/include
if HAVE_PTHREAD
libgtest_la_CPPFLAGS += -DGTEST_HAS_PTHREAD=1
......@@ -248,6 +249,7 @@ unittest_SOURCES = \
unittest_CXXFLAGS = \
$(MEDIALIB_CPPFLAGS) \
-I$(top_srcdir)/test \
-I$(top_srcdir)/googletest/include \
$(NULL)
unittest_LDADD = \
......@@ -268,6 +270,7 @@ samples_CXXFLAGS = \
$(MEDIALIB_CPPFLAGS) \
-DSRC_DIR=\"$(top_srcdir)\" \
-I$(top_srcdir)/test \
-I$(top_srcdir)/googletest/include \
$(NULL)
samples_LDADD = \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment