From 3e90d6b40d3dead231444d652954d617c7985cc6 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Wed, 23 Feb 2022 10:19:20 +0100 Subject: Support boost 1.76 This adds support for boost 1.76. For this to work we needed a new version of the boost helpers, because boost 1.76beta1 added this change: https://github.com/boostorg/asio/commit/1c16c45a3d447f685dfa7a9b704d26f10b0f3e29 The introduction of these dummy arguments to the constructor of boost::asio::detail::io_object_impl need to be mirrored in the basic socket helpers. --- CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 65148a5..645825c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -164,8 +164,10 @@ else() endif() message( STATUS "Using boost version: ${VSOMEIP_BOOST_VERSION}" ) -if (${VSOMEIP_BOOST_VERSION} GREATER 107400) -message( ERROR "boost version ${VSOMEIP_BOOST_VERSION} is not (yet) supported. Latest supported version is 1.74.0" ) +if (${VSOMEIP_BOOST_VERSION} GREATER 107600) +message( ERROR "boost version ${VSOMEIP_BOOST_VERSION} is not (yet) supported. Latest supported version is 1.76.0" ) +elseif(${VSOMEIP_BOOST_VERSION} GREATER 107500) +set(VSOMEIP_BOOST_HELPER implementation/helper/1.76) elseif(${VSOMEIP_BOOST_VERSION} GREATER 107300) set(VSOMEIP_BOOST_HELPER implementation/helper/1.74) elseif(${VSOMEIP_BOOST_VERSION} GREATER 106999) -- cgit v1.2.1