aboutsummaryrefslogtreecommitdiffstats
path: root/googlemock/cmake
Commit message (Collapse)AuthorAgeFilesLines
* Ensure that gtest/gmock pkgconfig requirements specify versionNeal Gompa2020-03-212-2/+2
| | | | | | | | | 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>
* Merge pull request #2556 from ienorand:avoid-pkg-config-lpthread-cflagAndy Getz2019-11-132-2/+2
|\ | | | | | | PiperOrigin-RevId: 279375858
| * pkg-config: Remove pthread link flag from CflagsMartin Erik Werner2019-11-052-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Remove the threads link library variable references from the pkg-config Cflags: field, removing -lpthread(s) from the compile flags. "-l*" linker flags should only be part of the Libs: section and should not be part of the Cflags: section in pkg-config files. This was first suggested in https://github.com/google/googletest/pull/2006 and further discussed in https://github.com/google/googletest/pull/2483 .
* | Revert "Use pcfiledir for prefix in pkgconfig file"David Seifert2019-10-052-6/+4
|/ | | | | | | | The change makes implicit assumptions on the layout of the install tree, which is going to break in many ways. The correct solution is to use the `PKG_CONFIG_SYSROOT_DIR` variable to inject the cross-compiled sysroot into `-I` and `-L` paths.
* Googletest exportmisterg2018-12-132-2/+2
| | | | | | Internal Change PiperOrigin-RevId: 225231727
* Googletest exportmisterg2018-11-202-2/+2
| | | | | | Internal Change PiperOrigin-RevId: 222123106
* Use pcfiledir for prefix in pkgconfig fileFilipp Andjelo2018-10-112-4/+6
| | | | | | | Using absolute paths in the pkg-config file makes it not relocatable and leads to problems, when trying to use it with precompiled cross toolchains. Setting prefix to relative path based on pcfiledir makes it more reliable for such cases.
* pkgconfig: Unconditionally depend on GTest when using GMockDavid Seifert2018-09-022-0/+2
| | | | | * GTest is a required dependency for GMock, hence we always need to pull it in.
* Add support for pkgconfigDavid Seifert2017-08-142-0/+18