Bump CMake minimum version to 3.18
Some CMake files rely on features introduced in 3.18. However, the
minimum required version is currently set to 3.16, which makes some
deployments fail when using 3.16 or 3.17. Fix this by bumping the
required version to 3.18.
Signed-off-by: Balint Dobszay <balint.dobszay@arm.com>
Change-Id: I7263a4ded28e1c6dda1c63c67689b60f087b8182
diff --git a/deployments/libsp/opteesp/CMakeLists.txt b/deployments/libsp/opteesp/CMakeLists.txt
index 19dede4..6166c7e 100644
--- a/deployments/libsp/opteesp/CMakeLists.txt
+++ b/deployments/libsp/opteesp/CMakeLists.txt
@@ -1,10 +1,10 @@
#-------------------------------------------------------------------------------
-# Copyright (c) 2020-2021, Arm Limited and Contributors. All rights reserved.
+# Copyright (c) 2020-2022, Arm Limited and Contributors. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
#-------------------------------------------------------------------------------
-cmake_minimum_required(VERSION 3.16)
+cmake_minimum_required(VERSION 3.18 FATAL_ERROR)
include(../../deployment.cmake REQUIRED)
#-------------------------------------------------------------------------------