From 475184cb3ccd7a3109da42fabd33306ed01cea12 Mon Sep 17 00:00:00 2001 From: Adam Rutkowski Date: Thu, 22 Jun 2023 09:46:21 -0500 Subject: [PATCH] Removed boost guards from testSerializationSlam and fixed CMakeLists --- tests/CMakeLists.txt | 2 +- tests/testSerializationSlam.cpp | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index d7b68c4ec..44b7505fc 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -13,7 +13,7 @@ if (NOT GTSAM_USE_BOOST_FEATURES) endif() if (NOT GTSAM_ENABLE_BOOST_SERIALIZATION) - list(APPEND excluded_tests "testSerializationSLAM.cpp") + list(APPEND excluded_tests "testSerializationSlam.cpp") endif() # Build tests diff --git a/tests/testSerializationSlam.cpp b/tests/testSerializationSlam.cpp index 6b504a810..c4170b108 100644 --- a/tests/testSerializationSlam.cpp +++ b/tests/testSerializationSlam.cpp @@ -52,8 +52,6 @@ #include #include -#ifdef GTSAM_USE_BOOST_FEATURES - #include #include @@ -676,8 +674,6 @@ TEST(SubgraphSolver, Solves) { } } -#endif - /* ************************************************************************* */ int main() { TestResult tr; return TestRegistry::runAllTests(tr); } /* ************************************************************************* */