当前位置:   article > 正文

【已解决】CMake Error: Could not find CMAKE_ROOT !!!

cmake error: could not find cmake_root !!!
  • 问题描述:
    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).
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    解决方案:
    清除缓存:
    hash -r
    
    • 1
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/article/detail/51139
推荐阅读
相关标签
  

闽ICP备14008679号