Removed boost guards from testSerializationSlam and fixed CMakeLists

release/4.3a0
Adam Rutkowski 2023-06-22 09:46:21 -05:00
parent ab3e3773ec
commit 475184cb3c
2 changed files with 1 additions and 5 deletions

View File

@ -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

View File

@ -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); }
/* ************************************************************************* */ /* ************************************************************************* */