Created
September 27, 2019 08:25
-
-
Save brianc118/600fb9888fa6f9df9ff4a4faf480d068 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# USAGE: ./cmake_local_install INSTALL_DIR | |
# | |
# Note. INSTALL_DIR needs to be an absolute path | |
wget https://github.com/Kitware/CMake/releases/download/v3.15.3/cmake-3.15.3.tar.gz | |
tar -xvzf cmake-3.15.3.tar.gz | |
cd cmake-3.15.3 | |
./configure.sh --prefix=$1 | |
make | |
make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment