CMake Error: Could not find CMAKE_ROOT !!! CMake has most likely not been installed correctly. Modul 需要卸载旧版本的CMake,重新编译安装CMake即可。
sudo apt-get remover cmakesudo apt-get autoremove cmake
1. 下载cmake源码
2. 安装,CMAKE_ROOT就会在环境变量里面
./bootstrap make sudo make install或者 sudo ./configure --prefix=/usr