【发布时间】:2020-04-05 12:58:40
【问题描述】:
我正在使用至少需要 cmake 3.12 的存储库。我有 cmake 3.10.2,所以我将其更新为 cmake 3.17.0。现在当我运行cmake --version 时,我得到cmake version 3.17.0 跟随How to reinstall the latest cmake version?
。但是,当我使用 repo 时,我仍然收到以下错误
CMake Error at CMakeLists.txt:5 (cmake_minimum_required):
CMake 3.12 or higher is required. You are running version 3.10.2
有人知道吗?
【问题讨论】:
-
您是否删除了您的 CMake 缓存,并在存储库中从头开始重新运行 CMake?
标签: cmake