Ubuntu下升级CMake版本
CMake版本查看
cmake --version
卸载已安装的CMake
apt-get autoremove cmake
下载CMake
wget https://cmake.org/files/v3.20/cmake-3.20.0-linux-x86_64.tar.gz
创建软链接
mv cmake-3.20.0-Linux-x86_64 /opt/cmake-3.20.0
ln -sf /opt/cmake-3.20.0/bin/* /usr/bin/