File 0001-Fix-build-errors-with-CMake-4.patch of Package kdrive
From 9f95cf908673484ec550eb6e5b8dae7f72a5d5fe Mon Sep 17 00:00:00 2001 From: Christophe Marin <christophe@krop.fr> Date: Wed, 23 Apr 2025 16:26:26 +0200 Subject: [PATCH 01/10] Fix build errors with CMake 4 Compatibility with CMake <= 3.5 was dropped --- CMakeLists.txt | 2 +- src/3rdparty/utf8proc/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f686544..e15edf6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.1) +cmake_minimum_required(VERSION 3.16) set(CMAKE_CXX_STANDARD 20) project(client) diff --git a/src/3rdparty/utf8proc/CMakeLists.txt b/src/3rdparty/utf8proc/CMakeLists.txt index 2ff0058..cac7256 100644 --- a/src/3rdparty/utf8proc/CMakeLists.txt +++ b/src/3rdparty/utf8proc/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required (VERSION 3.0.0) +cmake_minimum_required (VERSION 3.16) include (utils.cmake) -- 2.50.0