mirror of
https://github.com/google/googletest.git
synced 2024-12-27 10:11:03 +08:00
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
359 B
PkgConfig
11 lines
359 B
PkgConfig
libdir=@CMAKE_INSTALL_FULL_LIBDIR@
|
|
includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
|
|
|
|
Name: gmock_main
|
|
Description: GoogleMock (with main() function)
|
|
Version: @PROJECT_VERSION@
|
|
URL: https://github.com/google/googletest
|
|
Requires: gmock
|
|
Libs: -L${libdir} -lgmock_main @CMAKE_THREAD_LIBS_INIT@
|
|
Cflags: -I${includedir} @GTEST_HAS_PTHREAD_MACRO@ @CMAKE_THREAD_LIBS_INIT@
|