【已解决】CMake Error: Could not find CMAKE_ROOT !!!
问题描述:root@4d42a166eecc:/home/CMake# cmake --versionCMake Error: Could not find CMAKE_ROOT !!!CMake has most likely not been installed correctly.Modules directory not found in/usr/local/share/cmake-3.1
·
- 问题描述:
解决方案:root@4d42a166eecc:/home/CMake# cmake --version CMake Error: Could not find CMAKE_ROOT !!! CMake has most likely not been installed correctly. Modules directory not found in /usr/local/share/cmake-3.10 cmake version 3.10.2 CMake suite maintained and supported by Kitware (kitware.com/cmake).
清除缓存:hash -r
更多推荐
所有评论(0)