From 938ddf16b9911b6126a56fa4c0e8571918cdcb85 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. * Original commit: espressif/esp-idf@facab8c5a78323dceb0a418ecaaaa4319b102793 --- examples/protocols/asio/asio_chat/CMakeLists.txt | 2 +- examples/protocols/asio/async_request/CMakeLists.txt | 2 +- examples/protocols/asio/socks4/CMakeLists.txt | 2 +- examples/protocols/asio/ssl_client_server/CMakeLists.txt | 2 +- examples/protocols/asio/tcp_echo_server/CMakeLists.txt | 2 +- examples/protocols/asio/udp_echo_server/CMakeLists.txt | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/examples/protocols/asio/asio_chat/CMakeLists.txt b/examples/protocols/asio/asio_chat/CMakeLists.txt index 483b43d70..31a345c19 100644 --- a/examples/protocols/asio/asio_chat/CMakeLists.txt +++ b/examples/protocols/asio/asio_chat/CMakeLists.txt @@ -1,6 +1,6 @@ # The following 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/protocols/asio/async_request/CMakeLists.txt b/examples/protocols/asio/async_request/CMakeLists.txt index fc7e3c944..b360f7df5 100644 --- a/examples/protocols/asio/async_request/CMakeLists.txt +++ b/examples/protocols/asio/async_request/CMakeLists.txt @@ -1,6 +1,6 @@ # The following 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/protocols/asio/socks4/CMakeLists.txt b/examples/protocols/asio/socks4/CMakeLists.txt index 0482e2022..1a2667508 100644 --- a/examples/protocols/asio/socks4/CMakeLists.txt +++ b/examples/protocols/asio/socks4/CMakeLists.txt @@ -1,6 +1,6 @@ # The following 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/protocols/asio/ssl_client_server/CMakeLists.txt b/examples/protocols/asio/ssl_client_server/CMakeLists.txt index 804b8428b..927c74690 100644 --- a/examples/protocols/asio/ssl_client_server/CMakeLists.txt +++ b/examples/protocols/asio/ssl_client_server/CMakeLists.txt @@ -1,6 +1,6 @@ # The following 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/protocols/asio/tcp_echo_server/CMakeLists.txt b/examples/protocols/asio/tcp_echo_server/CMakeLists.txt index 6bf8f4682..9ed3aab2d 100644 --- a/examples/protocols/asio/tcp_echo_server/CMakeLists.txt +++ b/examples/protocols/asio/tcp_echo_server/CMakeLists.txt @@ -1,6 +1,6 @@ # The following 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/protocols/asio/udp_echo_server/CMakeLists.txt b/examples/protocols/asio/udp_echo_server/CMakeLists.txt index 59493277c..1282ffd88 100644 --- a/examples/protocols/asio/udp_echo_server/CMakeLists.txt +++ b/examples/protocols/asio/udp_echo_server/CMakeLists.txt @@ -1,6 +1,6 @@ # The following 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.