升级cmake
1 yum remove cmake -y 2 mkdir /opt/cmake 3 cd /opt/cmake/ 4 wget https://cmake.org/files/v3.14/cmake-3.14.5.tar.gz 5 tar zxvf cmake-3.14.5.tar.gz 6 cd cmake-3.14.5 7 ./configure --prefix=/usr/local/cmake 8 make && make install 9 ln -s /usr/local/cmake/bin/cmake /usr/bin/cmake 10 source /etc/profile 11 cmake -version