Skip to content

Commit 8d713c5

Browse files
committed
fix cmake versions mismatch
1 parent 41df780 commit 8d713c5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/install_deps.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ brew install gnu-sed
1010
brew install automake
1111
brew install libtool
1212

13-
rm -f /usr/local/bin/cmake
13+
rm -rf /Applications/CMake.app
14+
rm -f /usr/local/bin/cmake /usr/local/bin/ctest /usr/local/bin/cpack /usr/local/bin/cmake-gui /usr/local/bin/ccmake
15+
1416
CMAKE_VERSION=3.31.6
1517
mkdir ~/Downloads/CMake
1618
curl --location --retry 3 "https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION}/cmake-${CMAKE_VERSION}-macos-universal.dmg" --output ~/Downloads/CMake/cmake-macos.dmg

0 commit comments

Comments
 (0)