mirror of
https://github.com/NixOS/nix.git
synced 2024-11-25 00:02:25 +00:00
Link both gmock and gtest, not just gtest
GMock is not entirely header-only, we're finding.
This commit is contained in:
parent
212ba69e6f
commit
c817305411
@ -351,7 +351,7 @@ fi
|
|||||||
AS_IF([test "$ENABLE_UNIT_TESTS" == "yes"],[
|
AS_IF([test "$ENABLE_UNIT_TESTS" == "yes"],[
|
||||||
|
|
||||||
# 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.
|
||||||
PKG_CHECK_MODULES([RAPIDCHECK], [rapidcheck rapidcheck_gtest])
|
PKG_CHECK_MODULES([RAPIDCHECK], [rapidcheck rapidcheck_gtest])
|
||||||
|
Loading…
Reference in New Issue
Block a user