bring back cmake3

This commit is contained in:
2026-02-08 10:06:17 -06:00
parent a9703ac87e
commit 1462bb12bc
2 changed files with 47 additions and 16 deletions

View File

@@ -406,10 +406,10 @@ get_pkgconfig_version() {
pkg-config --modversion "${pkg}"
}
using_cmake_4() {
using_cmake3() {
local cmakeVersion
IFS=$' \t' read -r _ _ cmakeVersion <<<"$(command cmake --version)"
line_starts_with "${cmakeVersion}" 4
line_starts_with "${cmakeVersion}" 3
}
have_req_meson_version() {