Skip to content

Commit 91d7327

Browse files
committed
[FIXUP] Boost
This change encompasses: - bitcoin#24558 - bitcoin#27724
1 parent 3f513eb commit 91d7327

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cmake/module/AddBoostIfNeeded.cmake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ function(add_boost_if_needed)
2121
find_package(Boost 1.64.0 REQUIRED)
2222
set_target_properties(Boost::boost PROPERTIES IMPORTED_GLOBAL TRUE)
2323
target_compile_definitions(Boost::boost INTERFACE
24-
$<$<CONFIG:Debug>:BOOST_MULTI_INDEX_ENABLE_SAFE_MODE>
24+
# We don't use multi_index serialization.
25+
BOOST_MULTI_INDEX_DISABLE_SERIALIZATION
2526
)
2627
if(CMAKE_VERSION VERSION_LESS 3.15)
2728
add_library(Boost::headers ALIAS Boost::boost)

0 commit comments

Comments
 (0)