From dda2722563d60998dc296edf75a30aa32f51cf17 Mon Sep 17 00:00:00 2001 From: Djordje Nedic Date: Fri, 27 May 2022 10:10:51 +0200 Subject: [PATCH] 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. --- examples/cxx/experimental/esp_mqtt_cxx/ssl/CMakeLists.txt | 2 +- examples/cxx/experimental/esp_mqtt_cxx/tcp/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/cxx/experimental/esp_mqtt_cxx/ssl/CMakeLists.txt b/examples/cxx/experimental/esp_mqtt_cxx/ssl/CMakeLists.txt index a5f94f087..01cc1fff5 100644 --- a/examples/cxx/experimental/esp_mqtt_cxx/ssl/CMakeLists.txt +++ b/examples/cxx/experimental/esp_mqtt_cxx/ssl/CMakeLists.txt @@ -1,6 +1,6 @@ # The following four lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.16) # (Not part of the boilerplate) # This example uses an extra component for common functions such as Wi-Fi and Ethernet connection. diff --git a/examples/cxx/experimental/esp_mqtt_cxx/tcp/CMakeLists.txt b/examples/cxx/experimental/esp_mqtt_cxx/tcp/CMakeLists.txt index 29bdec289..ef6daba53 100644 --- a/examples/cxx/experimental/esp_mqtt_cxx/tcp/CMakeLists.txt +++ b/examples/cxx/experimental/esp_mqtt_cxx/tcp/CMakeLists.txt @@ -1,6 +1,6 @@ # The following four lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.16) # (Not part of the boilerplate) # This example uses an extra component for common functions such as Wi-Fi and Ethernet connection.