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 01890e863a
commit 53cdb040cf
2 changed files with 5 additions and 1 deletions

View File

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

View File

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