wget -c https://github.com/Kitware/CMake/releases/download/v3.15.0/cmake-3.15.0.tar.gz
tar xvfz cmake-3.15.0.tar.gz
#— 编译cmake
cd cmake-3.15.0
./configure
make -j4
#—安装并检查cmake版本
make install
cmake --version
wget -c https://github.com/Kitware/CMake/releases/download/v3.15.0/cmake-3.15.0.tar.gz
tar xvfz cmake-3.15.0.tar.gz
#— 编译cmake
cd cmake-3.15.0
./configure
make -j4
#—安装并检查cmake版本
make install
cmake --version