From 874e13d071428a5c8011d73160e6b9f4787ce2ba Mon Sep 17 00:00:00 2001 From: Andrey Semashev Date: Wed, 24 Dec 2025 17:03:22 +0300 Subject: [PATCH] Replace the dependency on asio with asio_core. Boost.Process doesn't use any advanced Boost.ASIO features and switching to asio_core removes the transitive dependencies on Boost.Context and Boost.DateTime. --- CMakeLists.txt | 2 +- build.jam | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 16a2073a3..c6c84d912 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -34,7 +34,7 @@ target_include_directories(boost_process PUBLIC include) target_link_libraries(boost_process PUBLIC Boost::algorithm - Boost::asio + Boost::asio_core Boost::config Boost::core Boost::fusion diff --git a/build.jam b/build.jam index a33b5f0ae..0b67cd353 100644 --- a/build.jam +++ b/build.jam @@ -12,7 +12,7 @@ feature boost.process.disable-close-range : on off : optional ; constant boost_dependencies : /boost/algorithm//boost_algorithm - /boost/asio//boost_asio + /boost/asio//boost_asio_core /boost/assert//boost_assert /boost/config//boost_config /boost/core//boost_core