Merge pull request #1416 from berndpfrommer/fix_boost_library_version_error

fix boost 1.74 error by including library_version_type.hpp
release/4.3a0
Frank Dellaert 2023-01-26 22:59:44 -08:00 committed by GitHub
commit 12d4cfa218
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -24,6 +24,9 @@
#ifdef GTSAM_ENABLE_BOOST_SERIALIZATION #ifdef GTSAM_ENABLE_BOOST_SERIALIZATION
#include <boost/serialization/nvp.hpp> #include <boost/serialization/nvp.hpp>
#include <boost/serialization/version.hpp> #include <boost/serialization/version.hpp>
#if BOOST_VERSION >= 107400
#include <boost/serialization/library_version_type.hpp>
#endif
#include <boost/serialization/list.hpp> #include <boost/serialization/list.hpp>
#endif #endif