File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -57,10 +57,19 @@ set(BOOST_SRC_DIR ${DEFAULT_BOOST_SRC_DIR} CACHE STRING "Boost source dir to use
5757set (BOOST_BEAST2_DEPENDENCIES
5858 Boost::asio
5959 Boost::assert
60+ Boost::buffers
61+ Boost::capy
6062 Boost::config
63+ Boost::core
64+ Boost::describe
6165 Boost::http_proto
66+ Boost::json
67+ Boost::mp11
68+ Boost::static_assert
6269 Boost::system
6370 Boost::throw_exception
71+ Boost::url
72+ Boost::variant2
6473 )
6574
6675foreach (BOOST_BEAST2_DEPENDENCY ${BOOST_BEAST2_DEPENDENCIES} )
@@ -70,10 +79,10 @@ foreach (BOOST_BEAST2_DEPENDENCY ${BOOST_BEAST2_DEPENDENCIES})
7079endforeach ()
7180# Conditional dependencies
7281if (BOOST_BEAST2_BUILD_TESTS)
73- set (BOOST_BEAST2_UNIT_TEST_LIBRARIES beast url )
82+ set (BOOST_BEAST2_UNIT_TEST_LIBRARIES beast)
7483endif ()
7584if (BOOST_BEAST2_BUILD_EXAMPLES)
76- set (BOOST_BEAST2_EXAMPLE_LIBRARIES json program_options scope url multiprecision)
85+ set (BOOST_BEAST2_EXAMPLE_LIBRARIES program_options scope multiprecision)
7786endif ()
7887# Complete dependency list
7988set (BOOST_INCLUDE_LIBRARIES ${BOOST_BEAST2_INCLUDE_LIBRARIES} ${BOOST_BEAST2_UNIT_TEST_LIBRARIES} ${BOOST_BEAST2_EXAMPLE_LIBRARIES} )
@@ -115,7 +124,7 @@ if (BOOST_BEAST2_IS_ROOT)
115124 set (CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${BOOST_SRC_DIR} /tools/cmake/include" )
116125 else ()
117126 # From Boost Package
118- find_package (Boost REQUIRED COMPONENTS buffers http_proto program_options scope url )
127+ find_package (Boost REQUIRED COMPONENTS buffers capy http_proto json program_options scope system url )
119128 foreach (BOOST_INCLUDE_LIBRARY ${BOOST_INCLUDE_LIBRARIES} )
120129 if (NOT TARGET Boost::${BOOST_INCLUDE_LIBRARY} )
121130 add_library (Boost::${BOOST_INCLUDE_LIBRARY} ALIAS Boost::headers )
You can’t perform that action at this time.
0 commit comments