Skip to content

Commit

Permalink
[FIXUP] Boost
Browse files Browse the repository at this point in the history
This change encompasses:
- bitcoin#24558
- bitcoin#27724
  • Loading branch information
hebasto committed Jul 10, 2023
1 parent 3f513eb commit 91d7327
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmake/module/AddBoostIfNeeded.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
$<$<CONFIG:Debug>: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)
Expand Down

0 comments on commit 91d7327

Please sign in to comment.