From 91d73272255f5b89e8b18d7ab55480ec378baa1c Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> Date: Sun, 9 Jul 2023 21:41:04 +0100 Subject: [PATCH] [FIXUP] Boost This change encompasses: - https://github.com/bitcoin/bitcoin/pull/24558 - https://github.com/bitcoin/bitcoin/pull/27724 --- cmake/module/AddBoostIfNeeded.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmake/module/AddBoostIfNeeded.cmake b/cmake/module/AddBoostIfNeeded.cmake index a31ed10a9f58b..48c50a00243d8 100644 --- a/cmake/module/AddBoostIfNeeded.cmake +++ b/cmake/module/AddBoostIfNeeded.cmake @@ -21,7 +21,8 @@ function(add_boost_if_needed) find_package(Boost 1.64.0 REQUIRED) set_target_properties(Boost::boost PROPERTIES IMPORTED_GLOBAL TRUE) target_compile_definitions(Boost::boost INTERFACE - $<$:BOOST_MULTI_INDEX_ENABLE_SAFE_MODE> + # We don't use multi_index serialization. + BOOST_MULTI_INDEX_DISABLE_SERIALIZATION ) if(CMAKE_VERSION VERSION_LESS 3.15) add_library(Boost::headers ALIAS Boost::boost)