Merge pull request #9844 from NixOS/pkg-config-gmock
Link both gmock and gtest, not just gtest
(cherry picked from commit 979b00bce9efa9560a58a10661865f4e896d0903)
Change-Id: Ic12d596e635057d67de277fbeb1602017e7623d0
This commit is contained in:
parent
2bb0a06346
commit
50ef364dbe
|
@ -304,7 +304,7 @@ fi
|
||||||
if test "$ENABLE_TESTS" = yes; then
|
if test "$ENABLE_TESTS" = yes; then
|
||||||
|
|
||||||
# Look for gtest.
|
# Look for gtest.
|
||||||
PKG_CHECK_MODULES([GTEST], [gtest_main])
|
PKG_CHECK_MODULES([GTEST], [gtest_main gmock_main])
|
||||||
|
|
||||||
|
|
||||||
# Look for rapidcheck.
|
# Look for rapidcheck.
|
||||||
|
|
Loading…
Reference in a new issue