diff --git a/CMakeLists.txt b/CMakeLists.txt index 4ae4f3714..310108df9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.15) list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake") diff --git a/README.rst b/README.rst index 9e115010e..a55ba0ab3 100644 --- a/README.rst +++ b/README.rst @@ -123,7 +123,7 @@ Dependencies Compiling fish requires: - Rust (version 1.70 or later) -- CMake (version 3.5 or later) +- CMake (version 3.15 or later) - a C compiler (for system feature detection and the test helper binary) - PCRE2 (headers and libraries) - optional, this will be downloaded if missing - gettext (headers and libraries) - optional, for translation support diff --git a/debian/control b/debian/control index 6dd45365d..063ef2927 100644 --- a/debian/control +++ b/debian/control @@ -5,7 +5,7 @@ Maintainer: ridiculous_fish Uploaders: David Adam Build-Depends: debhelper (>= 12), cargo (>= 0.66) | cargo-mozilla (>= 0.66), - cmake (>= 3.19.0) | cmake-mozilla (>= 3.19.0), + cmake (>= 3.15.0) | cmake-mozilla (>= 3.15.0), gettext, libpcre2-dev, rustc (>= 1.70), diff --git a/fish.spec.in b/fish.spec.in index 6c262ac9d..a74487df0 100644 --- a/fish.spec.in +++ b/fish.spec.in @@ -14,7 +14,7 @@ BuildRequires: cargo gettext gcc xz pcre2-devel BuildRequires: rust >= 1.70 # Packaging guidelines say to use a BuildRequires: rust-packaging, but it adds no value for our package -BuildRequires: cmake >= 3.19 +BuildRequires: cmake >= 3.15 %if 0%{?suse_version} BuildRequires: update-desktop-files