diff options
author | Neal Gompa <ngompa13@gmail.com> | 2020-03-21 09:44:09 (GMT) |
---|---|---|
committer | Neal Gompa <ngompa13@gmail.com> | 2020-03-21 10:38:09 (GMT) |
commit | 3549237957a111154abe3594966395c3aeee4a37 (patch) | |
tree | 2d68267e53074797eb2db825370b59930d44d9d7 /googlemock/cmake | |
parent | 749148f1accc346d94825358a9a745b852961a11 (diff) | |
download | googletest-3549237957a111154abe3594966395c3aeee4a37.zip googletest-3549237957a111154abe3594966395c3aeee4a37.tar.gz googletest-3549237957a111154abe3594966395c3aeee4a37.tar.bz2 |
Ensure that gtest/gmock pkgconfig requirements specify versionrefs/pull/2756/head
Google Test and Google Mock require matching versions to work,
so this requirement should be described in the pkgconfig files.
This change is derived from the one used for the Fedora gtest package.
Signed-off-by: Neal Gompa <ngompa13@gmail.com>
Diffstat (limited to 'googlemock/cmake')
-rw-r--r-- | googlemock/cmake/gmock.pc.in | 2 | ||||
-rw-r--r-- | googlemock/cmake/gmock_main.pc.in | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/googlemock/cmake/gmock.pc.in b/googlemock/cmake/gmock.pc.in index 5780fca..23c67b5 100644 --- a/googlemock/cmake/gmock.pc.in +++ b/googlemock/cmake/gmock.pc.in @@ -5,6 +5,6 @@ Name: gmock Description: GoogleMock (without main() function) Version: @PROJECT_VERSION@ URL: https://github.com/google/googletest -Requires: gtest +Requires: gtest = @PROJECT_VERSION@ Libs: -L${libdir} -lgmock @CMAKE_THREAD_LIBS_INIT@ Cflags: -I${includedir} @GTEST_HAS_PTHREAD_MACRO@ diff --git a/googlemock/cmake/gmock_main.pc.in b/googlemock/cmake/gmock_main.pc.in index f2dfe69..66ffea7 100644 --- a/googlemock/cmake/gmock_main.pc.in +++ b/googlemock/cmake/gmock_main.pc.in @@ -5,6 +5,6 @@ Name: gmock_main Description: GoogleMock (with main() function) Version: @PROJECT_VERSION@ URL: https://github.com/google/googletest -Requires: gmock +Requires: gmock = @PROJECT_VERSION@ Libs: -L${libdir} -lgmock_main @CMAKE_THREAD_LIBS_INIT@ Cflags: -I${includedir} @GTEST_HAS_PTHREAD_MACRO@ |