From d68108f3a47f9244166ba8c06130a55ee27e7422 Mon Sep 17 00:00:00 2001 From: Jakub Jelen Date: Wed, 16 Aug 2023 13:29:30 +0200 Subject: [PATCH] build: Bump the minimal cmake version to 3.5 We use string(APPEND) from version 3.4 for 5 years and CMake is deprecating support for versions before 3.5 so bumping one more version. Fixes: #209 Signed-off-by: Jakub Jelen Reviewed-by: Andreas Schneider Reviewed-by: Aris Adamantiadis --- CMakeLists.txt | 2 +- INSTALL | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6ba50f70..44e08edb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.3.0) +cmake_minimum_required(VERSION 3.5.0) cmake_policy(SET CMP0048 NEW) # Specify search path for CMake modules to be loaded by include() diff --git a/INSTALL b/INSTALL index 7ba53c50..2c457f4b 100644 --- a/INSTALL +++ b/INSTALL @@ -7,7 +7,7 @@ In order to build libssh, you need to install several components: - A C compiler -- [CMake](https://www.cmake.org) >= 3.3.0 +- [CMake](https://www.cmake.org) >= 3.5.0 - [openssl](https://www.openssl.org) >= 1.0.1 or - [gcrypt](https://www.gnu.org/directory/Security/libgcrypt.html) >= 1.4