This is the absolute minimum CMake configuration I've been able to find that uses Google Test mkdir build cd build cmake .. cmake --build . ./unittests