* [PATCH 1/1] CMakeLists.txt: Require cmake 3.5 or higher
@ 2024-11-26 17:23 Arnaldo Carvalho de Melo
0 siblings, 0 replies; only message in thread
From: Arnaldo Carvalho de Melo @ 2024-11-26 17:23 UTC (permalink / raw)
To: Alan Maguire
Cc: Eduard Zingerman, Jiri Olsa, Andrii Nakryiko,
Jan Alexander Steffens, Domenico Andreoli, Matthias Schwarzott,
Dominique Leuenberger, Dominique Martinet, Guilherme Amadio,
dwarves
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.
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1d0dadf6eea76158..90fa65c391b6ec47 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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)
--
2.46.2
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2024-11-26 17:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-26 17:23 [PATCH 1/1] CMakeLists.txt: Require cmake 3.5 or higher Arnaldo Carvalho de Melo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox