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

Szilárd Páll pall.szilard at gmail.com
Wed Jan 15 19:57:26 CET 2014


Hi Vedran

Builds for me fine, gmock is bundled with GROMACS and it's located in
src/external/gmock-1.7.0.

Cheers,
--
Szilárd


On Wed, Jan 15, 2014 at 7:34 PM, Vedran Miletić <rivanvx at gmail.com> wrote:
> 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ć
> --
> Gromacs Developers mailing list
>
> * Please search the archive at http://www.gromacs.org/Support/Mailing_Lists/GMX-developers_List before posting!
>
> * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists
>
> * For (un)subscribe requests visit
> https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-developers or send a mail to gmx-developers-request at gromacs.org.


More information about the gromacs.org_gmx-developers mailing list