mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-19 10:35:50 +00:00
Convert code to use boost::beast
This commit is contained in:
@@ -358,6 +358,10 @@ macro(use_boost)
|
||||
message(WARNING "Boost directory found, but not all components. May not be able to build.")
|
||||
endif()
|
||||
|
||||
if(Boost_VERSION VERSION_LESS 106700)
|
||||
message(FATAL_ERROR "Boost version 1.67 or greater is required for boost::beast. Found version: ${Boost_VERSION}")
|
||||
endif()
|
||||
|
||||
if(MSVC14)
|
||||
# VS2017 with boost <= 1.66.0 requires a flag to suppress warnings
|
||||
if(NOT Boost_VERSION VERSION_GREATER 106600)
|
||||
@@ -581,6 +585,8 @@ macro(setup_build_boilerplate)
|
||||
-DSOCI_CXX_C11=1
|
||||
-D_SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS
|
||||
-DBOOST_NO_AUTO_PTR
|
||||
-DBOOST_BEAST_ALLOW_DEPRECATED
|
||||
-DBOOST_ASIO_DISABLE_HANDLER_TYPE_REQUIREMENTS
|
||||
)
|
||||
|
||||
if (is_gcc)
|
||||
|
||||
Reference in New Issue
Block a user