下载源码安装包:
https://cmake.org/files/v3.16/cmake-3.16.3.tar.gz
tar -zxvf cmake-3.16.3.tar.gz
cd cmake-3.16.3/
./bootstrap
make
make install
yum install openssl
yum install openssl-devel
Could not find OpenSSL. Install an OpenSSL development package or
configure CMake with -DCMAKE_USE_OPENSSL=OFF to build without OpenSSL.