Skip to content

Commit

Permalink
make cmake compatible with version 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
varunagrawal committed Feb 16, 2023
1 parent 3e4884d commit f376be4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ include(cmake/HandleGeneralOptions.cmake) # CMake build options
# Enable or disable serialization with GTSAM_ENABLE_BOOST_SERIALIZATION
option(GTSAM_ENABLE_BOOST_SERIALIZATION "Enable Boost serialization" ON)
if(GTSAM_ENABLE_BOOST_SERIALIZATION)
add_compile_definitions(GTSAM_ENABLE_BOOST_SERIALIZATION)
add_definitions(-DGTSAM_ENABLE_BOOST_SERIALIZATION)
endif()

option(GTSAM_USE_BOOST_FEATURES "Enable Features that use Boost" ON)
Expand Down

0 comments on commit f376be4

Please sign in to comment.