From 9f1f38ac29e0342c66baea0ab946c3bb9782a6a0 Mon Sep 17 00:00:00 2001 From: Alex Cunningham Date: Sat, 4 Feb 2012 21:43:18 +0000 Subject: [PATCH] testSerialization flag now back in effect, testSerialization will not be compiled by default --- tests/Makefile.am | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/tests/Makefile.am b/tests/Makefile.am index 19378a83f..cc1b34162 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -24,10 +24,9 @@ check_PROGRAMS += testGaussianISAM2 check_PROGRAMS += testExtendedKalmanFilter check_PROGRAMS += testRot3Optimization -## flag disabled to force this test to get updated properly -#if ENABLE_SERIALIZATION +if ENABLE_SERIALIZATION check_PROGRAMS += testSerialization -#endif +endif # Timing tests noinst_PROGRAMS = timeGaussianFactorGraph timeSequentialOnDataset timeMultifrontalOnDataset @@ -40,9 +39,9 @@ AM_LDFLAGS = $(BOOST_LDFLAGS) AM_CPPFLAGS = $(BOOST_CPPFLAGS) -I$(top_srcdir) # link to serialization library for test -#if ENABLE_SERIALIZATION +if ENABLE_SERIALIZATION AM_LDFLAGS += -lboost_serialization -#endif +endif LDADD = ../gtsam/libgtsam.la ../CppUnitLite/libCppUnitLite.a AM_DEFAULT_SOURCE_EXT = .cpp