From 8bd15b8792ec1ceb77633e03455fe9128c8bff0e Mon Sep 17 00:00:00 2001 From: Frank Dellaert Date: Sun, 5 Feb 2023 19:16:49 -0800 Subject: [PATCH] Omit serialization test --- tests/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index c0c960e65..bf922057b 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -11,6 +11,10 @@ if (NOT GTSAM_USE_BOOST_FEATURES) list(APPEND tests_exclude "testGncOptimizer.cpp") endif() +if (NOT GTSAM_ENABLE_BOOST_SERIALIZATION) + list(APPEND tests_exclude "testSerializationSLAM.cpp") +endif() + # Build tests gtsamAddTestsGlob(tests "test*.cpp" "${tests_exclude}" "gtsam")