File: gtest_pthread.patch

package info (click to toggle)
libecpint 1.0.5-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 16,896 kB
  • sloc: xml: 31,587; cpp: 8,074; ansic: 922; python: 145; sh: 30; makefile: 15
file content (9 lines) | stat: -rw-r--r-- 427 bytes parent folder | download
1
2
3
4
5
6
7
8
9
--- ./external/ImportGTest.cmake.orig	2020-10-13 21:19:43.403659158 +0200
+++ ./external/ImportGTest.cmake	2020-10-13 21:19:53.967714651 +0200
@@ -39,5 +39,5 @@
   message("Found googletest")
   add_library(gtest INTERFACE)
   target_include_directories(gtest INTERFACE ${GTEST_INCLUDE_DIR})
-  target_link_libraries(gtest INTERFACE ${GTEST_LIBRARY})
+  target_link_libraries(gtest INTERFACE ${GTEST_LIBRARY} pthread)
 endif()