Download the latest (1.7.0) from Google Code (Q: where is it going to live, once GCode shuts down?)
Then follow the primer, but more to the point, the README (YMMV) Having installed CLion and cmake, this is how I built gtest:
brew install cmake
cd gtest-1.7.0