tag 563479 + upstream patch pending thanks Dear Ludovico, attached you can find the proposed patch (latest version always available at [0]) to fix the bug you've reported. The patch has already been forwarded to the upstream bug. This bug should therefore be closed with the next upload (most likely to experimental).
Kind regards, Kai Wasserbäch [0] <http://git.debian.org/?p=collab-maint/cmake.git;a=blob;f=debian/patches/FindBoost_add_-lpthread_%23563479.diff;hb=HEAD> -- Kai Wasserbäch (Kai Wasserbaech) E-Mail: [email protected] Jabber (debianforum.de): Drizzt URL: http://wiki.debian.org/C%C3%B9ran GnuPG: 0xE1DE59D2 0600 96CE F3C8 E733 E5B6 1587 A309 D76C E1DE 59D2 (http://pgpkeys.pca.dfn.de/pks/lookup?search=0xE1DE59D2&fingerprint=on&hash=on&op=vindex)
Subject: Add -lpthread when using Boost::Thread. Author: Kai Wasserbäch <[email protected]> Origin: vendor Last-Update: 2011-01-16 Bug: http://cmake.org/Bug/view.php?id=10692 Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=563479 Forwarded: http://cmake.org/Bug/file_download.php?file_id=3629&type=bug --- 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()
signature.asc
Description: OpenPGP digital signature

