mirror of
https://github.com/google/googletest.git
synced 2024-12-27 10:11:03 +08:00
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:
parent
c7a8998556
commit
79875d320e
@ -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@
|
||||
|
@ -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@
|
||||
|
Loading…
x
Reference in New Issue
Block a user