s
Linux编译安装cmake最新版本
https://blog.51cto.com/sadoc/1910753
https://github.com/Kitware/CMake/releases/download/v3.14.3/cmake-3.14.3.tar.gz
yum安装的版本过于低,一般都是2.8版本.
需要安装gccgcc-c*
#wget https://cmake.org/files/v3.7/cmake-3.7.2.tar.gz
#tar zxf cmake-3.7.2.tar.gz
#cd cmake-3.7.2
#./bootstrap
#make && makeinstall
查看版本
[root@localhostcmake-3.7.2]# cmake --version
cmake version3.7.2
CMake suite maintained and supported by Kitware (kitware.com/cmake)
end