aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authoreldritch horrors <pennae@lix.systems>2024-03-04 08:47:39 +0100
committereldritch horrors <pennae@lix.systems>2024-03-04 08:47:39 +0100
commit50ef364dbe0a60845067968ed50966c8d08b1580 (patch)
treedb8df1a3c3e091d5824ee12a255b9d60789a403e /configure.ac
parent2bb0a063466e7ef940b91d6eb441d4a0c5f0fb1f (diff)
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
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index e070c0d0b..6b7fbae73 100644
--- a/configure.ac
+++ b/configure.ac
@@ -304,7 +304,7 @@ fi
if test "$ENABLE_TESTS" = yes; then
# Look for gtest.
-PKG_CHECK_MODULES([GTEST], [gtest_main])
+PKG_CHECK_MODULES([GTEST], [gtest_main gmock_main])
# Look for rapidcheck.