Skip to content

Commit

Permalink
fix: revert changes; add missing include
Browse files Browse the repository at this point in the history
  • Loading branch information
Arkadiusz Niemiec committed Jan 24, 2025
1 parent 5e4787c commit a5170c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 0 additions & 7 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,6 @@ include(GtsamPrinting)
option(GTSAM_ENABLE_BOOST_SERIALIZATION "Enable Boost serialization" ON)
option(GTSAM_USE_BOOST_FEATURES "Enable Features that use Boost" ON)

if(GTSAM_ENABLE_BOOST_SERIALIZATION)
add_definitions(-DGTSAM_ENABLE_BOOST_SERIALIZATION=1)
endif()
if(GTSAM_USE_BOOST_FEATURES)
add_definitions(-DGTSAM_USE_BOOST_FEATURES=1)
endif()

if(GTSAM_ENABLE_BOOST_SERIALIZATION OR GTSAM_USE_BOOST_FEATURES)
include(cmake/HandleBoost.cmake)
endif()
Expand Down
2 changes: 2 additions & 0 deletions gtsam/base/concepts.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

#pragma once

#include <gtsam/config.h>

#if GTSAM_USE_BOOST_FEATURES
#include <boost/concept_check.hpp>
#include <boost/concept/assert.hpp>
Expand Down

0 comments on commit a5170c0

Please sign in to comment.