summaryrefslogtreecommitdiffstats
path: root/src/googletest/googlemock/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'src/googletest/googlemock/cmake')
-rw-r--r--src/googletest/googlemock/cmake/gmock.pc.in10
-rw-r--r--src/googletest/googlemock/cmake/gmock_main.pc.in10
2 files changed, 20 insertions, 0 deletions
diff --git a/src/googletest/googlemock/cmake/gmock.pc.in b/src/googletest/googlemock/cmake/gmock.pc.in
new file mode 100644
index 000000000..23c67b5c8
--- /dev/null
+++ b/src/googletest/googlemock/cmake/gmock.pc.in
@@ -0,0 +1,10 @@
+libdir=@CMAKE_INSTALL_FULL_LIBDIR@
+includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
+
+Name: gmock
+Description: GoogleMock (without main() function)
+Version: @PROJECT_VERSION@
+URL: https://github.com/google/googletest
+Requires: gtest = @PROJECT_VERSION@
+Libs: -L${libdir} -lgmock @CMAKE_THREAD_LIBS_INIT@
+Cflags: -I${includedir} @GTEST_HAS_PTHREAD_MACRO@
diff --git a/src/googletest/googlemock/cmake/gmock_main.pc.in b/src/googletest/googlemock/cmake/gmock_main.pc.in
new file mode 100644
index 000000000..66ffea7f4
--- /dev/null
+++ b/src/googletest/googlemock/cmake/gmock_main.pc.in
@@ -0,0 +1,10 @@
+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 = @PROJECT_VERSION@
+Libs: -L${libdir} -lgmock_main @CMAKE_THREAD_LIBS_INIT@
+Cflags: -I${includedir} @GTEST_HAS_PTHREAD_MACRO@