要在 CentOS 中檢查 CMake 版本,請按照以下步驟操作:
cmake --version
這將顯示已安裝的 CMake 版本信息,類似于以下內容:
cmake version 3.20.3
其中 “3.20.3” 是您的 CMake 版本號。