make cmake compatible with version 3.10

release/4.3a0
Varun Agrawal 2023-02-16 01:31:54 -05:00
parent 3e4884d019
commit f376be411a
1 changed files with 1 additions and 1 deletions

View File

@ -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)