Commit graph

4 commits

Author SHA1 Message Date
Shengjing Zhu
4dd4d8e339 cmake: link gtest_main to gmock lib
Starting with googletest 1.8.1, I meet the following error when building
the tests.

/usr/bin/ld: ../../../gmock/libgmock_main.a(gmock_main.cc.o): in function `main':
/usr/src/googletest/googlemock/src/gmock_main.cc:52: undefined reference to `testing::InitGoogleMock(int*, char**)'
2018-10-14 15:10:43 +08:00
Simon Fels
08aa37e9eb Import helper cmake script to find GMock and GTest on more modern systems
Taken from https://code.launchpad.net/~cmake-extras/cmake-extras/trunk
2017-04-26 19:57:15 +02:00
Simon Fels
a1dce43b50 Use host compiler to build emugen utility in cross-build environments 2017-01-27 07:12:19 +01:00
Simon Fels
3222551702 Initial work 2016-06-14 11:34:17 +02:00