095b3113e7
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.
12 lines
395 B
PkgConfig
12 lines
395 B
PkgConfig
prefix=${pcfiledir}/../..
|
|
libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@
|
|
includedir=${prefix}/@CMAKE_INSTALL_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@
|