diff options
author | Neal Gompa <ngompa13@gmail.com> | 2020-03-21 05:44:09 -0400 |
---|---|---|
committer | Neal Gompa <ngompa13@gmail.com> | 2020-03-21 06:38:09 -0400 |
commit | 3549237957a111154abe3594966395c3aeee4a37 (patch) | |
tree | 2d68267e53074797eb2db825370b59930d44d9d7 /googletest | |
parent | 749148f1accc346d94825358a9a745b852961a11 (diff) | |
download | googletest-3549237957a111154abe3594966395c3aeee4a37.tar.gz googletest-3549237957a111154abe3594966395c3aeee4a37.tar.bz2 googletest-3549237957a111154abe3594966395c3aeee4a37.zip |
Ensure that gtest/gmock pkgconfig requirements specify version
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 'googletest')
-rw-r--r-- | googletest/cmake/gtest_main.pc.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/googletest/cmake/gtest_main.pc.in b/googletest/cmake/gtest_main.pc.in index 1e01bd19..38c88c54 100644 --- a/googletest/cmake/gtest_main.pc.in +++ b/googletest/cmake/gtest_main.pc.in @@ -5,6 +5,6 @@ Name: gtest_main Description: GoogleTest (with main() function) Version: @PROJECT_VERSION@ URL: https://github.com/google/googletest -Requires: gtest +Requires: gtest = @PROJECT_VERSION@ Libs: -L${libdir} -lgtest_main @CMAKE_THREAD_LIBS_INIT@ Cflags: -I${includedir} @GTEST_HAS_PTHREAD_MACRO@ |