CentOS下升级cmake问题CMake Error:Could not find CMAKE_ROOT!!!

cmake --version
CMake Error:Could not find CMAKE_ROOT!!!
CMake has most likely not been installed correctly.
Modules directory not found in
/usr/local/bin
Segmentation fault (core dumped)

安装了两次cmake 3.9,都有core dumped的问题,原来只要一条命令就可以解决

强推这篇博客
https://blog.csdn.net/suibianshen2012/article/details/81504577

感动ing~~
CentOS下升级cmake问题CMake Error:Could not find CMAKE_ROOT!!!_第1张图片

你可能感兴趣的:(问题,Linux)