summaryrefslogtreecommitdiffstats
path: root/googletest
diff options
context:
space:
mode:
authorAndy Getz <durandal@google.com>2019-11-13 22:03:46 (GMT)
committerAndy Getz <durandal@google.com>2019-11-13 22:03:46 (GMT)
commit11440f27c66da2ace6ec908a6081b23d230e09b8 (patch)
treea4a5efa5ee612bf155beba7a67cc61c6d7973b57 /googletest
parentd5707695cb020ace53dc35f30dd1c3f463daf98e (diff)
parent6caa879a42d97f1b02ecc90c77fc486220251fa1 (diff)
downloadgoogletest-11440f27c66da2ace6ec908a6081b23d230e09b8.zip
googletest-11440f27c66da2ace6ec908a6081b23d230e09b8.tar.gz
googletest-11440f27c66da2ace6ec908a6081b23d230e09b8.tar.bz2
Merge pull request #2556 from ienorand:avoid-pkg-config-lpthread-cflag
PiperOrigin-RevId: 279375858
Diffstat (limited to 'googletest')
-rw-r--r--googletest/cmake/gtest.pc.in2
-rw-r--r--googletest/cmake/gtest_main.pc.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/googletest/cmake/gtest.pc.in b/googletest/cmake/gtest.pc.in
index e7967ad..b4148fa 100644
--- a/googletest/cmake/gtest.pc.in
+++ b/googletest/cmake/gtest.pc.in
@@ -6,4 +6,4 @@ Description: GoogleTest (without main() function)
Version: @PROJECT_VERSION@
URL: https://github.com/google/googletest
Libs: -L${libdir} -lgtest @CMAKE_THREAD_LIBS_INIT@
-Cflags: -I${includedir} @GTEST_HAS_PTHREAD_MACRO@ @CMAKE_THREAD_LIBS_INIT@
+Cflags: -I${includedir} @GTEST_HAS_PTHREAD_MACRO@
diff --git a/googletest/cmake/gtest_main.pc.in b/googletest/cmake/gtest_main.pc.in
index fe25d9c..1e01bd1 100644
--- a/googletest/cmake/gtest_main.pc.in
+++ b/googletest/cmake/gtest_main.pc.in
@@ -7,4 +7,4 @@ 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@
+Cflags: -I${includedir} @GTEST_HAS_PTHREAD_MACRO@