build: update the min cmake version to 3.20
The cmake versions < 3.20 do not work anymore with the changes done
to the build system for the EL0 app framework. The workarounds for
supporting version < 3.20 are not trivial and is introducing some
complexity into the build. Hence bumping up the min required version
for cmake to 3.20.
Change-Id: I8c2121f9b11d33f5c6ffc8bb7752039f4175f509
Signed-off-by: Soby Mathew <soby.mathew@arm.com>
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d10dc03..e613900 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -3,7 +3,7 @@
# SPDX-FileCopyrightText: Copyright TF-RMM Contributors.
#
-cmake_minimum_required(VERSION 3.15.0)
+cmake_minimum_required(VERSION 3.20.0)
# allow target_link_libraries() to be used with targets in other directories
cmake_policy(SET CMP0079 NEW)
diff --git a/docs/getting_started/getting-started.rst b/docs/getting_started/getting-started.rst
index 0a49039..979fb9e 100644
--- a/docs/getting_started/getting-started.rst
+++ b/docs/getting_started/getting-started.rst
@@ -42,7 +42,7 @@
:header: "Name", "Version", "Component"
"C compiler", see :ref:`getting_started_toolchain` ,"Firmware"
- "CMake", ">=3.15.0", "Firmware, Documentation"
+ "CMake", ">=3.20.0", "Firmware, Documentation"
"GNU Make", ">4.0", "Firmware, Documentation"
"Python",3.x,"Firmware, Documentation"
"Perl",>=5.26,"Firmware, Documentation"
@@ -125,7 +125,7 @@
.. note::
- Please download cmake 3.19 or later version from https://cmake.org/download/.
+ Please download cmake 3.20 or later version from https://cmake.org/download/.
3. Add CMake path into environment: