blob: 3c70c1d600ef6dbe4451952a1b6837bacb19295e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
diff --git a/tests/Makefile b/tests/Makefile
index d6d913f..9cb0080 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -8,9 +8,9 @@ SOURCES = $(wildcard math/gtest_*.cc) $(wildcard mve/gtest_*.cc) $(wildcard sfm/
INCLUDES = -I${MVE_ROOT}/libs -I${GTEST_PATH}/googletest/include
CXXWARNINGS = -Wall -Wextra -pedantic -Wno-sign-compare
CXXFLAGS = -std=c++11 -pthread ${CXXWARNINGS} ${INCLUDES}
-LDLIBS += -lpng -ltiff -ljpeg
+LDLIBS += -lpng -ltiff -ljpeg -lgtest -lgtest_main
-test: ${SOURCES:.cc=.o} libmve_fssr.a libmve_sfm.a libmve.a libmve_util.a libgtest_main.a libgtest.a
+test: ${SOURCES:.cc=.o} libmve_fssr.a libmve_sfm.a libmve.a libmve_util.a
${LINK.cc} -o $@ $^ ${LDLIBS}
clean:
|