Skip to content

Commit

Permalink
fix: add GTSAM_USE_BOOST_FEATURES to definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
Arkadiusz Niemiec committed Jan 23, 2025
1 parent 7b56d66 commit 853b77f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ include(GtsamPrinting)
option(GTSAM_ENABLE_BOOST_SERIALIZATION "Enable Boost serialization" ON)
option(GTSAM_USE_BOOST_FEATURES "Enable Features that use Boost" ON)

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

0 comments on commit 853b77f

Please sign in to comment.