Removed boost guards from testSerializationSlam and fixed CMakeLists
parent
ab3e3773ec
commit
475184cb3c
|
@ -13,7 +13,7 @@ if (NOT GTSAM_USE_BOOST_FEATURES)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (NOT GTSAM_ENABLE_BOOST_SERIALIZATION)
|
if (NOT GTSAM_ENABLE_BOOST_SERIALIZATION)
|
||||||
list(APPEND excluded_tests "testSerializationSLAM.cpp")
|
list(APPEND excluded_tests "testSerializationSlam.cpp")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Build tests
|
# Build tests
|
||||||
|
|
|
@ -52,8 +52,6 @@
|
||||||
#include <gtsam/base/serializationTestHelpers.h>
|
#include <gtsam/base/serializationTestHelpers.h>
|
||||||
#include <gtsam/base/std_optional_serialization.h>
|
#include <gtsam/base/std_optional_serialization.h>
|
||||||
|
|
||||||
#ifdef GTSAM_USE_BOOST_FEATURES
|
|
||||||
|
|
||||||
#include <boost/archive/xml_iarchive.hpp>
|
#include <boost/archive/xml_iarchive.hpp>
|
||||||
#include <boost/serialization/export.hpp>
|
#include <boost/serialization/export.hpp>
|
||||||
|
|
||||||
|
@ -676,8 +674,6 @@ TEST(SubgraphSolver, Solves) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* ************************************************************************* */
|
/* ************************************************************************* */
|
||||||
int main() { TestResult tr; return TestRegistry::runAllTests(tr); }
|
int main() { TestResult tr; return TestRegistry::runAllTests(tr); }
|
||||||
/* ************************************************************************* */
|
/* ************************************************************************* */
|
||||||
|
|
Loading…
Reference in New Issue