pkgconfig: Unconditionally depend on GTest when using GMock

* GTest is a required dependency for GMock, hence
  we always need to pull it in.
This commit is contained in:
David Seifert 2018-09-02 16:25:18 +02:00
parent c7a8998556
commit 79875d320e
No known key found for this signature in database
GPG Key ID: CE36E117202E3842
2 changed files with 2 additions and 0 deletions

View File

@ -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@

View File

@ -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@