Browse Source

Force usage of cmake 3.x

Signed-off-by: falkTX <falktx@falktx.com>
main
falkTX 2 weeks ago
parent
commit
56d0f103ce
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
2 changed files with 3 additions and 1 deletions
  1. +1
    -1
      .github/workflows/bootstrap-deps.sh
  2. +2
    -0
      setup/functions.sh

+ 1
- 1
.github/workflows/bootstrap-deps.sh View File

@@ -150,7 +150,7 @@ case "${1}" in
"bionic"|"bullseye"|"focal")
apt-get install -yqq --no-install-recommends python3-pip
pip3 install --isolated --upgrade --no-cache-dir --force-reinstall pip
pip3 install --isolated --upgrade --no-cache-dir --force-reinstall cmake meson
pip3 install --isolated --upgrade --no-cache-dir --force-reinstall cmake==3.31.6 meson
;;
esac



+ 2
- 0
setup/functions.sh View File

@@ -388,6 +388,8 @@ function build_cmake() {
extraconfrules+=" -DCMAKE_BUILD_TYPE=Release"
fi

extraconfrules+=" -DCMAKE_POLICY_VERSION_MINIMUM=3.5"

if [ ! -f "${pkgdir}/.stamp_configured" ]; then
pushd "${pkgdir}/build"
${CMAKE_EXE_WRAPPER} ${cmake} -DBUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_INSTALL_PREFIX="${PAWPAW_PREFIX}" ${extraconfrules} ..


Loading…
Cancel
Save