Building on Linux. There was a missing header included in one of the test files and some issues in CMakeLists.txt. Now using CMake's ExternProject module to download and build gtest along with the code, as recommended by their FAQ page. Untested on Windows.