From a5170c04184839a712886d1d55d294204b8ee3a6 Mon Sep 17 00:00:00 2001 From: Arkadiusz Niemiec Date: Fri, 24 Jan 2025 23:31:10 +0100 Subject: [PATCH] fix: revert changes; add missing include --- CMakeLists.txt | 7 ------- gtsam/base/concepts.h | 2 ++ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 219dd2985a..262f381214 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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() diff --git a/gtsam/base/concepts.h b/gtsam/base/concepts.h index 6ff1a44d4c..ec02c7e570 100644 --- a/gtsam/base/concepts.h +++ b/gtsam/base/concepts.h @@ -8,6 +8,8 @@ #pragma once +#include + #if GTSAM_USE_BOOST_FEATURES #include #include