From c6df90c8c0c6978543c014094b4517cc270cdcb2 Mon Sep 17 00:00:00 2001 From: tobtoht Date: Thu, 13 Nov 2025 15:28:12 +0100 Subject: [PATCH] cmake: set minimum boost version to 1.69 --- CMakeLists.txt | 7 +------ README.md | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index dc689954d..bf4c54e81 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -924,7 +924,7 @@ if(STATIC) endif() # Find Boost headers -set(BOOST_MIN_VER 1.62) +set(BOOST_MIN_VER 1.69) find_package(Boost ${BOOST_MIN_VER} QUIET REQUIRED CONFIG) if(NOT Boost_FOUND) @@ -937,11 +937,6 @@ elseif(Boost_FOUND) list(APPEND BOOST_COMPONENTS locale) endif() - # Boost System is header-only since 1.69 - if (Boost_VERSION_STRING VERSION_LESS 1.69.0) - list(APPEND BOOST_COMPONENTS system) - endif() - # Boost Regex is header-only since 1.77 if (Boost_VERSION_STRING VERSION_LESS 1.77.0) list(APPEND BOOST_COMPONENTS regex) diff --git a/README.md b/README.md index 978f571b3..cd3f5060f 100644 --- a/README.md +++ b/README.md @@ -155,7 +155,7 @@ library archives (`.a`). | GCC | 7 | NO | `build-essential` | `base-devel` | `base-devel` | `gcc` | NO | | | CMake | 3.10 | NO | `cmake` | `cmake` | `cmake` | `cmake` | NO | | | pkg-config | any | NO | `pkg-config` | `base-devel` | `base-devel` | `pkgconf` | NO | | -| Boost | 1.66 | NO | `libboost-all-dev` | `boost` | `boost-devel` | `boost-devel` | NO | C++ libraries | +| Boost | 1.69 | NO | `libboost-all-dev` | `boost` | `boost-devel` | `boost-devel` | NO | C++ libraries | | OpenSSL | 1.1.1 | NO | `libssl-dev` | `openssl` | `openssl-devel` | `openssl-devel` | NO | cryptography | | libzmq | 4.2.0 | NO | `libzmq3-dev` | `zeromq` | `zeromq-devel` | `zeromq-devel` | NO | ZeroMQ library | | libunbound | 1.4.16 | NO | `libunbound-dev` | `unbound` | `unbound-devel` | `unbound-devel` | NO | DNS resolver |