1. 错误信息
CMake 3.14 or higher is required. You are running version 3.7.2
2. 升级cmake到相应的版本
wget https://cmake.org/files/v3.16/cmake-3.16.8-Linux-x86_64.tar.gz
tar zxvf cmake-3.16.8-Linux-x86_64.tar.gz 压缩包里的文件是已经编译过的,解压就可以用!
sudo ln -s /home/tools/cmake-3.16.8-Linux-x86_64/bin/cmake /usr/bin/cmake