mirror of
https://github.com/apache/nuttx.git
synced 2026-03-23 14:05:12 +08:00
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 <wangchengdong@lixiang.com>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user