Cmake安装
使用超方便的apt安装cmake
sudo apt install cmake
前往官网下载CMake的压缩包
https://cmake.org/download/
下载后解压,然后进入目录执行:
./bootstrap
make -j8
sudo make install
查看版本号:
cmake --version
sudo apt install cmake
https://cmake.org/download/
./bootstrap
make -j8
sudo make install
cmake --version