build: use Boost 1.82 and link Boost.Json (#4632)

Add Boost::json to the list of linked Boost libraries.

This seems to be required for macOS.
This commit is contained in:
John Freeman
2023-09-21 11:58:39 -04:00
committed by tequ
parent 0fb7ef4051
commit 1c12f1511b
2 changed files with 5 additions and 1 deletions

View File

@@ -6,6 +6,7 @@ find_package(Boost 1.83 REQUIRED
coroutine coroutine
date_time date_time
filesystem filesystem
json
program_options program_options
regex regex
system system
@@ -29,6 +30,7 @@ target_link_libraries(ripple_boost
Boost::coroutine Boost::coroutine
Boost::date_time Boost::date_time
Boost::filesystem Boost::filesystem
Boost::json
Boost::program_options Boost::program_options
Boost::regex Boost::regex
Boost::system Boost::system
@@ -48,4 +50,4 @@ if(san AND is_clang)
INTERFACE INTERFACE
# ignore boost headers for sanitizing # ignore boost headers for sanitizing
-fsanitize-blacklist=${CMAKE_CURRENT_BINARY_DIR}/san_bl.txt) -fsanitize-blacklist=${CMAKE_CURRENT_BINARY_DIR}/san_bl.txt)
endif() endif()

View File

@@ -54,6 +54,7 @@ find_package(Boost 1.86 REQUIRED
coroutine coroutine
date_time date_time
filesystem filesystem
json
program_options program_options
regex regex
system system
@@ -77,6 +78,7 @@ target_link_libraries(ripple_boost
Boost::coroutine Boost::coroutine
Boost::date_time Boost::date_time
Boost::filesystem Boost::filesystem
Boost::json
Boost::iostreams Boost::iostreams
Boost::program_options Boost::program_options
Boost::regex Boost::regex