[PATCH 01/31] cmake: Update minimum required version from 3.5 to 3.10
Arnaldo Carvalho de Melo <[email protected]> Wed, 29 Jul 2026 16:07:01 -0300
| Newsgroups | org.kernel.vger.dwarves,org.kernel.vger.bpf |
|---|---|
| Message-ID | <[email protected]> |
From: Arnaldo Carvalho de Melo <[email protected]> CMake warns that compatibility with versions < 3.10 will be removed from a future version. Update cmake_minimum_required to 3.10 to eliminate the deprecation warning during build. CMake 3.10 was released in November 2017 and is widely available across all currently supported Linux distributions. Before: CMake Deprecation Warning about VERSION < 3.10 on every build After: No deprecation warning Assisted-by: Claude:claude-sonnet-4-5 Signed-off-by: Arnaldo Carvalho de Melo <[email protected]> --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a6c329f88e343e66..dc1d742b07531194 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.10) project(pahole C) cmake_policy(SET CMP0005 NEW) -- 2.55.0