summaryrefslogtreecommitdiffstats
path: root/googlemock
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2018-09-02 14:25:18 (GMT)
committerDavid Seifert <soap@gentoo.org>2018-09-02 14:25:18 (GMT)
commit79875d320ea4616e18f03ecc2e20fda7bb154812 (patch)
treed70cc5e282516ae2b7be7eafbe13ec84335c1877 /googlemock
parentc7a899855656fb0bba2c98ba70bc26333471eb92 (diff)
downloadgoogletest-79875d320ea4616e18f03ecc2e20fda7bb154812.zip
googletest-79875d320ea4616e18f03ecc2e20fda7bb154812.tar.gz
googletest-79875d320ea4616e18f03ecc2e20fda7bb154812.tar.bz2
pkgconfig: Unconditionally depend on GTest when using GMock
* GTest is a required dependency for GMock, hence we always need to pull it in.
Diffstat (limited to 'googlemock')
-rw-r--r--googlemock/cmake/gmock.pc.in1
-rw-r--r--googlemock/cmake/gmock_main.pc.in1
2 files changed, 2 insertions, 0 deletions
diff --git a/googlemock/cmake/gmock.pc.in b/googlemock/cmake/gmock.pc.in
index c441642..2ef0fbc 100644
--- a/googlemock/cmake/gmock.pc.in
+++ b/googlemock/cmake/gmock.pc.in
@@ -5,5 +5,6 @@ Name: gmock
Description: GoogleMock (without main() function)
Version: @PROJECT_VERSION@
URL: https://github.com/google/googletest
+Requires: gtest
Libs: -L${libdir} -lgmock @CMAKE_THREAD_LIBS_INIT@
Cflags: -I${includedir} @GTEST_HAS_PTHREAD_MACRO@ @CMAKE_THREAD_LIBS_INIT@
diff --git a/googlemock/cmake/gmock_main.pc.in b/googlemock/cmake/gmock_main.pc.in
index c377dba..04658fe 100644
--- a/googlemock/cmake/gmock_main.pc.in
+++ b/googlemock/cmake/gmock_main.pc.in
@@ -5,5 +5,6 @@ Name: gmock_main
Description: GoogleMock (with main() function)
Version: @PROJECT_VERSION@
URL: https://github.com/google/googletest
+Requires: gmock
Libs: -L${libdir} -lgmock_main @CMAKE_THREAD_LIBS_INIT@
Cflags: -I${includedir} @GTEST_HAS_PTHREAD_MACRO@ @CMAKE_THREAD_LIBS_INIT@