5126ff48d9
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.
11 lines
352 B
PkgConfig
11 lines
352 B
PkgConfig
libdir=@CMAKE_INSTALL_FULL_LIBDIR@
|
|
includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
|
|
|
|
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@
|