Daniele Lupo wrote:
On 01/11/2026 13:36, Peter Dimov via Boost wrote:
At the moment, our required CMake version is conservatively set to 3.8, and all libraries are recommended to support it.
This may be set too low for 2027. The minimum usable Ubuntu on Github Actions is 20.04, which has CMake 3.16.
Boost installation requires 3.13. Boost.Python requires 3.14. (These are preexisting requirements, from the very beginning.)
Opinions? Does anyone need CMake < 3.13? < 3.16?
Is there any technical feature in CMake 3.16 that do you think is useful for building boost?
3.16 is mostly notable for being the default on Ubuntu 20.04. From a CMake feature perspective, the one prompting this e-mail (among others) was the failure https://github.com/boostorg/cmake/actions/runs/41333825766/job/125196650425 CMake Error at libs/openmethod/test/CMakeLists.txt:159 (target_precompile_headers): Unknown CMake command "target_precompile_headers". target_precompile_headers requires 3.16. Breaking the Boost configuration phase via using a feature unsupported in early CMake seems common, so the higher we set the baseline, the less this is going to happen.