summaryrefslogtreecommitdiff
path: root/googletest/cmake/gtest.pc.in
diff options
context:
space:
mode:
Diffstat (limited to 'googletest/cmake/gtest.pc.in')
-rw-r--r--googletest/cmake/gtest.pc.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/googletest/cmake/gtest.pc.in b/googletest/cmake/gtest.pc.in
index e7967ad56ff2..9aae29e267f0 100644
--- a/googletest/cmake/gtest.pc.in
+++ b/googletest/cmake/gtest.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
Description: GoogleTest (without main() function)