Artem Pikulin
7 years ago
2 changed files with 5 additions and 6 deletions
@ -1,2 +1,5 @@ |
|||||
#!/bin/bash |
#!/bin/bash |
||||
ls /Applications |
sudo rm -rf /usr/local/cmake-3.9.2 && sudo rm -rf /usr/local/cmake |
||||
|
wget https://cmake.org/files/v3.12/cmake-3.12.0-rc2-Linux-x86_64.sh |
||||
|
chmod +x cmake-3.12.0-rc2-Linux-x86_64.sh |
||||
|
sudo ./cmake-3.12.0-rc2-Linux-x86_64.sh --skip-license --exclude-subdir --prefix=/usr/local |
@ -1,6 +1,2 @@ |
|||||
#!/bin/bash |
#!/bin/bash |
||||
wget https://cmake.org/files/v3.12/cmake-3.12.0-rc2-Darwin-x86_64.dmg |
ls /Applications |
||||
sudo hdiutil attach cmake-3.12.0-rc2-Darwin-x86_64.dmg |
|
||||
sudo installer -package /Volumes/cmake-3.12.0-rc2-Darwin-x86_64/cmake-3.12.0-rc2-Darwin-x86_64.pkg -target / |
|
||||
sudo hdiutil detach /Volumes/cmake-3.12.0-rc2-Darwin-x86_64 |
|
||||
cmake --version |
|
Loading…
Reference in new issue