summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2025-04-02 19:07:48 +0100
committerEli Schwartz <eschwartz93@gmail.com>2025-04-06 03:17:33 -0400
commit66329e6f55e8b6427f7531f6db440573723e1a8e (patch)
tree6db6355a7b272bcd13f256e8919d1518db0ddd46
parent78213e653ff9240969d673165f89304c805f806f (diff)
downloadmeson-66329e6f55e8b6427f7531f6db440573723e1a8e.tar.gz
ci: arch: workaround cmake-4 vs wxwidgets
Workaround for cmake-4.0 vs wxwidgets-gtk2 by setting CMAKE_POLICY_VERSION_MINIMUM=3.5.
-rwxr-xr-xci/ciimage/arch/install.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/ci/ciimage/arch/install.sh b/ci/ciimage/arch/install.sh
index a6ef5e0a9..6b39a0ee7 100755
--- a/ci/ciimage/arch/install.sh
+++ b/ci/ciimage/arch/install.sh
@@ -24,6 +24,9 @@ cleanup_pkgs=(go)
AUR_USER=docker
PACMAN_OPTS='--needed --noprogressbar --noconfirm'
+# Workaround for cmake-4.0 vs wxwidgets-gtk2
+export CMAKE_POLICY_VERSION_MINIMUM=3.5
+
# Patch config files
sed -i 's/#Color/Color/g' /etc/pacman.conf
sed -i 's,#MAKEFLAGS="-j2",MAKEFLAGS="-j$(nproc)",g' /etc/makepkg.conf