Skip to contentSkip to conversation

CMakeLists.txt: Require cmake 3.5 or higher

PATCH New Arnaldo Carvalho de Melo 1 participant 1 message Nov 26, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 CMakeLists.txt: Require cmake 3.5 or higher

To address this warning from cmake:

CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument <min> value or use a ...<max> suffix to tell CMake that the project does not need compatibility with older versions.

---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
CMakeLists.txt +1 -1
index 1d0dadf6eea76158..90fa65c391b6ec47 100644
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 2.8.12)
+cmake_minimum_required(VERSION 3.5)
 project(pahole C)
 cmake_policy(SET CMP0005 NEW)
 
Signature · 1 line
2.46.2