summaryrefslogtreecommitdiffstats
path: root/googletest/cmake/gtest_main.pc.in
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2017-08-14 11:45:56 (GMT)
committerDavid Seifert <soap@gentoo.org>2017-08-14 11:45:56 (GMT)
commit8604c4adac40573f806cfadae44e22f8dfaf212a (patch)
treed36e71b9f5293a7e077a233cc32a95a6282d3cb1 /googletest/cmake/gtest_main.pc.in
parent673c975a963f356b19fea90cb57b69192253da2a (diff)
downloadgoogletest-8604c4adac40573f806cfadae44e22f8dfaf212a.zip
googletest-8604c4adac40573f806cfadae44e22f8dfaf212a.tar.gz
googletest-8604c4adac40573f806cfadae44e22f8dfaf212a.tar.bz2
Add support for pkgconfig
Diffstat (limited to 'googletest/cmake/gtest_main.pc.in')
-rw-r--r--googletest/cmake/gtest_main.pc.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/googletest/cmake/gtest_main.pc.in b/googletest/cmake/gtest_main.pc.in
new file mode 100644
index 0000000..fe25d9c
--- /dev/null
+++ b/googletest/cmake/gtest_main.pc.in
@@ -0,0 +1,10 @@
+libdir=@CMAKE_INSTALL_FULL_LIBDIR@
+includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
+
+Name: gtest_main
+Description: GoogleTest (with main() function)
+Version: @PROJECT_VERSION@
+URL: https://github.com/google/googletest
+Requires: gtest
+Libs: -L${libdir} -lgtest_main @CMAKE_THREAD_LIBS_INIT@
+Cflags: -I${includedir} @GTEST_HAS_PTHREAD_MACRO@ @CMAKE_THREAD_LIBS_INIT@