From 2ef085967dc3b9dc5f8b17adee072446925783b7 Mon Sep 17 00:00:00 2001 From: ProunceDev Date: Thu, 4 Sep 2025 04:19:16 -0500 Subject: [PATCH] Fix macOS workflow homebrew conflict error (#16464) --- util/ci/common.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/util/ci/common.sh b/util/ci/common.sh index 4ee68c8b9d..bd653a2c82 100644 --- a/util/ci/common.sh +++ b/util/ci/common.sh @@ -34,6 +34,9 @@ install_linux_deps() { # macOS build only install_macos_deps() { + # Uninstall the bundled cmake, it is outdated, and brew does not want to install the newest version with this one present since they are from different taps. + brew uninstall cmake || : + local pkgs=( cmake gettext freetype gmp jpeg-turbo jsoncpp leveldb libogg libpng libvorbis luajit zstd sdl2