From 50ef364dbe0a60845067968ed50966c8d08b1580 Mon Sep 17 00:00:00 2001 From: eldritch horrors Date: Mon, 4 Mar 2024 08:47:39 +0100 Subject: [PATCH] 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 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.