File: link-tests-pthread.patch

package info (click to toggle)
easyloggingpp 9.97.1%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,864 kB
  • sloc: cpp: 11,415; python: 2,336; sh: 337; makefile: 24
file content (14 lines) | stat: -rw-r--r-- 439 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Description: Link tests with pthread
Author: Stephen Kitt <skitt@debian.org>

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -97,7 +97,7 @@
     )
 
     # Standard linking to gtest stuff.
-    target_link_libraries(easyloggingpp-unit-tests ${GTEST_BOTH_LIBRARIES})
+    target_link_libraries(easyloggingpp-unit-tests ${GTEST_BOTH_LIBRARIES} pthread)
 
     add_test(NAME easyloggingppUnitTests COMMAND easyloggingpp-unit-tests -v)
 endif()