Last active
December 6, 2017 19:01
-
-
Save robotdad/f26036d639b4524c3d8c4ca734629633 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
sudo apt-get update | |
sudo apt-get install -y git cmake | |
git clone https://github.com/Kitware/CMake.git | |
cd CMake | |
Make sure you are on a supported release | |
git checkout tags/v3.9.0 | |
mkdir out | |
cd out | |
cmake ../ | |
make -j8 | |
sudo make install | |
The above will build and install the current release of CMake to /usr/local/bin. Check the version is >= 3.8 with: | |
/usr/local/bin/cmake --version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I kindof feel it is rediculus, message should be different here is what i got :
CMake version '3.10.0' is not supported. Please use 3.8 or newer. See https://aka.ms/linuxcmakeconfig for more info