Skip to content

Commit

Permalink
Merge pull request NixOS#9844 from NixOS/pkg-config-gmock
Browse files Browse the repository at this point in the history
Link both gmock and gtest, not just gtest
  • Loading branch information
Ericson2314 authored Jan 25, 2024
2 parents 212ba69 + c817305 commit 979b00b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ fi
AS_IF([test "$ENABLE_UNIT_TESTS" == "yes"],[
# Look for gtest.
PKG_CHECK_MODULES([GTEST], [gtest_main])
PKG_CHECK_MODULES([GTEST], [gtest_main gmock_main])
# Look for rapidcheck.
PKG_CHECK_MODULES([RAPIDCHECK], [rapidcheck rapidcheck_gtest])
Expand Down

0 comments on commit 979b00b

Please sign in to comment.