Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
build/pkgs/cmake/spkg-configure.m4: Increase minimum version from 3.4…
Browse files Browse the repository at this point in the history
… to 3.10 (as found on ubuntu-bionic)
  • Loading branch information
Matthias Koeppe committed Nov 14, 2022
1 parent d18036b commit dce791c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/pkgs/cmake/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
SAGE_SPKG_CONFIGURE(
[cmake], [
AC_CACHE_CHECK([for cmake >= 3.4], [ac_cv_path_CMAKE], [
AC_CACHE_CHECK([for cmake >= 3.10], [ac_cv_path_CMAKE], [
AC_PATH_PROGS_FEATURE_CHECK([CMAKE], [cmake], [
cmake_version=`$ac_path_CMAKE --version 2>&1 \
| $SED -n -e 's/cmake version *\([[0-9]]*\.[[0-9]]*\.[[0-9]]*\)/\1/p'`
AS_IF([test -n "$cmake_version"], [
AX_COMPARE_VERSION([$cmake_version], [ge], [3.4], [
AX_COMPARE_VERSION([$cmake_version], [ge], [3.10], [
ac_cv_path_CMAKE="$ac_path_CMAKE"
ac_path_CMAKE_found=:
])
Expand Down

0 comments on commit dce791c

Please sign in to comment.