summaryrefslogtreecommitdiffstats
path: root/googlemock/cmake/gmock.pc.in
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #2556 from ienorand:avoid-pkg-config-lpthread-cflagAndy Getz2019-11-131-1/+1
|\ | | | | | | PiperOrigin-RevId: 279375858
| * pkg-config: Remove pthread link flag from Cflagsrefs/pull/2556/headMartin Erik Werner2019-11-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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-051-3/+2
|/ | | | | | | | 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-131-1/+1
| | | | | | Internal Change PiperOrigin-RevId: 225231727
* Googletest exportmisterg2018-11-201-1/+1
| | | | | | Internal Change PiperOrigin-RevId: 222123106
* Use pcfiledir for prefix in pkgconfig fileFilipp Andjelo2018-10-111-2/+3
| | | | | | | 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-021-0/+1
| | | | | * GTest is a required dependency for GMock, hence we always need to pull it in.
* Add support for pkgconfigDavid Seifert2017-08-141-0/+9