Advertisement

CMake要求至少3.13版本。当前运行的是2.8.12.2版本

阅读量:

To update CMake on CentOS to a version higher than 3.13, you can follow these steps:

Remove the existing CMake version:

复制代码
    sudo yum remove cmake

    
    
         

Install dependencies:

复制代码
    sudo yum install -y epel-release

    sudo yum install -y wget
    
    
         
         

Download the latest version of CMake:

Visit the CMake download page to find the latest version, then use wget to download it. For example, to download version 3.25.1:

复制代码
    wget https://github.com/Kitware/CMake/releases/downloa

全部评论 (0)

还没有任何评论哟~