diff --git a/README.md b/README.md index 3d3ea8025..26a65aa37 100644 --- a/README.md +++ b/README.md @@ -100,9 +100,9 @@ following packages. - spdlog - suitesparse -- cereal - Qt5 - libQGLViewer +- JSON for Modern C++ On Ubuntu / Debian these dependencies are resolved by installing the following packages. diff --git a/g2o/core/CMakeLists.txt b/g2o/core/CMakeLists.txt index 58b400b1a..ad0a9d161 100644 --- a/g2o/core/CMakeLists.txt +++ b/g2o/core/CMakeLists.txt @@ -57,11 +57,8 @@ set_target_properties(core PROPERTIES SOVERSION ${G2O_LIB_SOVERSION}) target_link_libraries(core PUBLIC stuff Eigen3::Eigen) target_link_libraries(core PUBLIC g2o_ceres_ad) -if (TARGET cereal::cereal) -target_link_libraries(core PUBLIC cereal::cereal) -endif() if (TARGET nlohmann_json::nlohmann_json) -target_link_libraries(core PRIVATE nlohmann_json::nlohmann_json) + target_link_libraries(core PRIVATE nlohmann_json::nlohmann_json) endif() target_compile_features(core PUBLIC cxx_std_17) diff --git a/g2o/core/io/io_wrapper_json.h b/g2o/core/io/io_wrapper_json.h index 8c3206e13..e140b03d4 100644 --- a/g2o/core/io/io_wrapper_json.h +++ b/g2o/core/io/io_wrapper_json.h @@ -47,7 +47,7 @@ NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE(AbstractGraph::AbstractEdge, tag, ids, namespace json { /** - * @brief Versions of the IO API for the graph using cereal. + * @brief Versions of the IO API for the graph. Currently not stored. */ enum class IoVersions { kGraph = 0,