步骤一:到如下网址 https://cmake.org/download/下载dmg安装文件make-3.7.0-Darwin-x86_64.dmg。
步骤二:安装make-3.7.0-Darwin-x86_64.dmg,此时在终端输入命令:cmake,会提示:command not found。
步骤三:在终端中输入命令:export PATH=/Applications/CMake.app/Contents/bin:$PATH
步骤一:到如下网址 https://cmake.org/download/下载dmg安装文件make-3.7.0-Darwin-x86_64.dmg。
步骤二:安装make-3.7.0-Darwin-x86_64.dmg,此时在终端输入命令:cmake,会提示:command not found。
步骤三:在终端中输入命令:export PATH=/Applications/CMake.app/Contents/bin:$PATH
转载于:https://my.oschina.net/u/229425/blog/791110