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~~