From cf1afedd9f3e8428804b20ef89e91dd4bc15253c Mon Sep 17 00:00:00 2001 From: Fan Jiang Date: Mon, 23 Dec 2019 12:58:00 -0800 Subject: [PATCH] Remove the override allowing boost::optional binding to rvalues --- CMakeLists.txt | 6 ------ 1 file changed, 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4d2ee55e4..c712127ad 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -193,12 +193,6 @@ else() endif() endif() - -if(NOT (${Boost_VERSION} LESS 105600)) - message("Ignoring Boost restriction on optional lvalue assignment from rvalues") - list_append_cache(GTSAM_COMPILE_DEFINITIONS_PUBLIC BOOST_OPTIONAL_ALLOW_BINDING_TO_RVALUES BOOST_OPTIONAL_CONFIG_ALLOW_BINDING_TO_RVALUES) -endif() - ############################################################################### # Find TBB find_package(TBB 4.4 COMPONENTS tbb tbbmalloc)