diff options
author | Gennadiy Civil <gennadiycivil@users.noreply.github.com> | 2018-09-04 15:31:18 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-04 15:31:18 (GMT) |
commit | a2b149b2398b4954e40df947c54297f266a8a194 (patch) | |
tree | ab76a5fa2f7706521104a7fbe3493460e63f0fee | |
parent | 3787a483b994784c6710fdf8cc7fb405a4886dd3 (diff) | |
parent | 990bf4ffd1edad3c48d40dee78b2fb4e2a1bdd8d (diff) | |
download | googletest-a2b149b2398b4954e40df947c54297f266a8a194.zip googletest-a2b149b2398b4954e40df947c54297f266a8a194.tar.gz googletest-a2b149b2398b4954e40df947c54297f266a8a194.tar.bz2 |
Merge pull request #1801 from SoapGentoo/fix-gmock-pkgconfig
pkgconfig: Unconditionally depend on GTest when using GMock
-rw-r--r-- | googlemock/cmake/gmock.pc.in | 1 | ||||
-rw-r--r-- | googlemock/cmake/gmock_main.pc.in | 1 |
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@ |