title: cmake not building when installed with homebrew
body: <p>I'm trying to install cmake with homebrew using <code>brew install cmake</code>, but it is throwing an error that I do not understand.</p>
  
  <p>here's some of the log</p>
  
  <pre><code>[ 99%] Building CXX object Source/CMakeFiles/CTestLib.dir/CTest/cmCTestCVS.cxx.o
  [ 99%] Building CXX object Source/CMakeFiles/CTestLib.dir/CTest/cmCTestSVN.cxx.o
  [100%] Building CXX object Source/CMakeFiles/CTestLib.dir/CTest/cmCTestBZR.cxx.o
  [100%] Building CXX object Source/CMakeFiles/CTestLib.dir/CTest/cmCTestGIT.cxx.o
  [100%] Building CXX object Source/CMakeFiles/CTestLib.dir/CTest/cmCTestHG.cxx.o
  [100%] Building CXX object Source/CMakeFiles/CTestLib.dir/CTest/cmCTestP4.cxx.o
  Linking CXX static library libCTestLib.a
  [100%] Built target CTestLib
  make: *** [all] Error 2
  Error: cmake 3.0.1 did not build
  </code></pre>
  
  <p>Any ideas? I'm on osx yosemite beta 5.</p>