From the CMake 3.31 Release Notes:
Compatibility with versions of CMake older than 3.10 is now deprecated and will be removed from a future version.
This PR updates the cmake_minimum_required
command across all packages in depends to ensure the minimum version is not set below 3.10.
Without this change, CMake 3.31 emits a warning:
0$ make -C depends freetype
1make: Entering directory '/home/hebasto/git/bitcoin/depends'
2Extracting freetype...
3/home/hebasto/git/bitcoin/depends/sources/freetype-2.11.0.tar.xz: OK
4Preprocessing freetype...
5Configuring freetype...
6CMake Deprecation Warning at CMakeLists.txt:100 (cmake_minimum_required):
7 Compatibility with CMake < 3.10 will be removed from a future version of
8 CMake.
9
10 Update the VERSION argument <min> value or use a ...<max> suffix to tell
11 CMake that the project does not need compatibility with older versions.
12
13
14-- The C compiler identification is GNU 13.2.0
15< snip >