[gmx-developers] Checking for Google Mock in configure stage

Vedran Miletić rivanvx at gmail.com
Wed Jan 15 19:41:46 CET 2014


upon building latest gromacs from git I noticed

[ 96%] Building CXX object
In file included from
fatal error: gmock/gmock.h: No such file or directory
compilation terminated.
make[2]: *** [src/gromacs/onlinehelp/tests/CMakeFiles/onlinehelp-test-shared.dir/mock_helptopic.cpp.o]
Error 1
make[1]: *** [src/gromacs/onlinehelp/tests/CMakeFiles/onlinehelp-test-shared.dir/all]
Error 2
make: *** [all] Error 2

It would be nice if cmake checked for presence of google-mock on the
system. I would love to contribute a patch, but my experience with
cmake macros is very limited.

Vedran Miletić

More information about the gromacs.org_gmx-developers mailing list