debian/patches/FindBoost_add_-lpthread_#563479.diff: Added. (Closes: #563479)
parent
c17a90bf49
commit
cdd8ec7b95
@ -0,0 +1,23 @@
|
||||
Subject: Add -lpthread when using Boost::Thread.
|
||||
Author: Kai Wasserbäch <debian@carbon-project.org>
|
||||
Origin: vendor
|
||||
Last-Update: 2011-01-16
|
||||
Bug: http://public.kitware.com/Bug/view.php?id=10692
|
||||
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=563479
|
||||
Forwarded: no
|
||||
---
|
||||
Modules/FindBoost.cmake | 3 +++
|
||||
1 file changed, 3 insertions(+)
|
||||
|
||||
--- a/Modules/FindBoost.cmake
|
||||
+++ b/Modules/FindBoost.cmake
|
||||
@@ -1121,6 +1121,9 @@ else(_boost_IN_CACHE)
|
||||
message (STATUS " ${COMPONENT}")
|
||||
endif(NOT Boost_FIND_QUIETLY)
|
||||
set(Boost_LIBRARIES ${Boost_LIBRARIES} ${Boost_${UPPERCOMPONENT}_LIBRARY})
|
||||
+ if(${UPPERCOMPONENT} STREQUAL "THREAD" AND UNIX)
|
||||
+ set(Boost_LIBRARIES ${Boost_LIBRARIES} pthread)
|
||||
+ endif(${UPPERCOMPONENT} STREQUAL "THREAD" AND UNIX)
|
||||
endif( Boost_${UPPERCOMPONENT}_FOUND )
|
||||
endforeach(COMPONENT)
|
||||
else()
|
@ -1 +1,2 @@
|
||||
fixup_manpages.diff
|
||||
FindBoost_add_-lpthread_#563479.diff
|
||||
|
Loading…
Reference in new issue