From d6f392916ee79b60c5af7b1be17df3a3b8d0db02 Mon Sep 17 00:00:00 2001 From: Jean-Louis Leroy Date: Sat, 7 Nov 2026 08:27:11 -0500 Subject: [PATCH 1/3] cmake: require CMake 3.16 (fixes #139) The library declared cmake_minimum_required(VERSION 3.8...), but the tests use target_precompile_headers, which needs 3.16, so configuring the superproject with BUILD_TESTING=ON failed on CMake 3.8 to 3.15. 3.16 is the version that was actually tested: Boost.CI's minimum-CMake job ran 3.16 until it began deriving the version from this file. It is also what Ubuntu 20.04 ships, and every toolchain the library supports (gcc 10 or later) comes with it or newer. 3.8 dates from April 2017 and was never shipped by any Ubuntu release. Co-Authored-By: Claude Opus 5.5 --- CMakeLists.txt | 2 +- test/cmake_test/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2ad1a459..6240ce49 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,7 +15,7 @@ # #------------------------------------------------- -cmake_minimum_required(VERSION 3.8...3.20) +cmake_minimum_required(VERSION 3.16...3.20) set(BOOST_OPENMETHOD_VERSION 1) diff --git a/test/cmake_test/CMakeLists.txt b/test/cmake_test/CMakeLists.txt index a8972d18..3a41334b 100644 --- a/test/cmake_test/CMakeLists.txt +++ b/test/cmake_test/CMakeLists.txt @@ -5,7 +5,7 @@ # https://www.boost.org/LICENSE_1_0.txt # -cmake_minimum_required(VERSION 3.8...3.20) +cmake_minimum_required(VERSION 3.16...3.20) project(cmake_test LANGUAGES CXX) set(__ignore__ ${CMAKE_C_COMPILER}) From 85da8e0839552e4f4448d664c1a7c93ceac1a2dc Mon Sep 17 00:00:00 2001 From: Jean-Louis Leroy Date: Sat, 7 Nov 2026 10:26:08 -0500 Subject: [PATCH 2/3] ci: re-run to pick up the boost-ci fixes (min. CMake, icpx) Co-Authored-By: Claude Sonnet 5.5 From 81db2f39beac4d6cac949b74127986e97f322655 Mon Sep 17 00:00:00 2001 From: Jean-Louis Leroy Date: Sat, 7 Nov 2026 12:14:53 -0500 Subject: [PATCH 3/3] ci: re-run to pick up boost-ci cf213de10 (CMake 3.5 policy minimum) Co-Authored-By: Claude Sonnet 5.5