ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew tap homebrew/versions
brew install gcc49
brew install CMake
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew tap homebrew/versions
brew install gcc49
brew install CMake
转载于:https://www.cnblogs.com/juandx/p/6108545.html