aboutsummaryrefslogtreecommitdiffstats
path: root/googletest/cmake/gtest_main.pc.in
diff options
context:
space:
mode:
Diffstat (limited to 'googletest/cmake/gtest_main.pc.in')
-rw-r--r--googletest/cmake/gtest_main.pc.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/googletest/cmake/gtest_main.pc.in b/googletest/cmake/gtest_main.pc.in
index fe25d9c7..915f2973 100644
--- a/googletest/cmake/gtest_main.pc.in
+++ b/googletest/cmake/gtest_main.pc.in
@@ -1,5 +1,6 @@
-libdir=@CMAKE_INSTALL_FULL_LIBDIR@
-includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
+prefix=${pcfiledir}/../..
+libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@
+includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@
Name: gtest_main
Description: GoogleTest (with main() function)