tools: Increase the minimal supported CMake version to 3.16

This updates the minimal supported version of CMake to 3.16, which in turn enables us to use more CMake features and have a cleaner build system.
This is the version that provides most new features and also the one we use in our latest docker image for CI.
This commit is contained in:
Djordje Nedic
2022-05-27 10:10:51 +02:00
committed by BOT
parent 8094d874bc
commit facab8c5a7
379 changed files with 441 additions and 401 deletions

View File

@@ -4,7 +4,7 @@
#
# It is recommended to NOT USE this CMake script if you have the option of
# running the tool directly. This script exists only for use inside CMake builds.
cmake_minimum_required(VERSION 3.5)
cmake_minimum_required(VERSION 3.16)
if(NOT IDF_PATH)
message(FATAL_ERROR "IDF_PATH not set.")