This is an automated email from the ASF dual-hosted git repository.
simbit18 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new bbf311348b1 cmake: bump minimum required CMake version to 3.20
bbf311348b1 is described below
commit bbf311348b1bd42e7d395def04ca2d08f9e2ff79
Author: wangchengdong <[email protected]>
AuthorDate: Thu Feb 26 09:55:56 2026 +0800
cmake: bump minimum required CMake version to 3.20
Raise the minimum required CMake version to 3.20,
as the build system now uses the `cmake_path()` command,
which is available starting from CMake 3.20.
Signed-off-by: Chengdong Wang <[email protected]>
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 54c5611cf00..0dc50fc63a9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -33,7 +33,7 @@
# Request a version available on latest Ubuntu LTS (20.04)
-cmake_minimum_required(VERSION 3.16)
+cmake_minimum_required(VERSION 3.20)
# Handle newer CMake versions correctly by setting policies