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

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


Hello,

upon building latest gromacs from git I noticed

[ 96%] Building CXX object
src/gromacs/onlinehelp/tests/CMakeFiles/onlinehelp-test-shared.dir/mock_helptopic.cpp.o
In file included from
/home/pnikolic/workspace/gromacs/src/gromacs/onlinehelp/tests/mock_helptopic.cpp:42:0:
/home/pnikolic/workspace/gromacs/src/gromacs/onlinehelp/tests/mock_helptopic.h:46:25:
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.

Regards,
Vedran Miletić


More information about the gromacs.org_gmx-developers mailing list