update CMake requirement

find_rust uses LIST(POP_BACK), which was added in 3.15.
This commit is contained in:
David Adam 2024-12-26 13:20:00 +08:00
parent 74b1247461
commit 044cea1bf3
4 changed files with 4 additions and 4 deletions

View File

@ -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")

View File

@ -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

2
debian/control vendored
View File

@ -5,7 +5,7 @@ Maintainer: ridiculous_fish <corydoras@ridiculousfish.com>
Uploaders: David Adam <zanchey@ucc.gu.uwa.edu.au>
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),

View File

@ -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