Boost logo

Boost-Commit :

From: troy_at_[hidden]
Date: 2007-06-05 01:06:17


Author: troy
Date: 2007-06-05 01:06:15 EDT (Tue, 05 Jun 2007)
New Revision: 4449
URL: http://svn.boost.org/trac/boost/changeset/4449

Log:

multithreaded (at least on the linux machines I have handy,
debian-testing) requires -pthread on compile and -lpthread on link.

Text files modified:
   sandbox-branches/boost-cmake/boost_1_34_0/tools/build/CMake/BoostConfig.cmake | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: sandbox-branches/boost-cmake/boost_1_34_0/tools/build/CMake/BoostConfig.cmake
==============================================================================
--- sandbox-branches/boost-cmake/boost_1_34_0/tools/build/CMake/BoostConfig.cmake (original)
+++ sandbox-branches/boost-cmake/boost_1_34_0/tools/build/CMake/BoostConfig.cmake 2007-06-05 01:06:15 EDT (Tue, 05 Jun 2007)
@@ -97,6 +97,6 @@
 elseif(UNIX)
   # Assume -pthread and -lrt on all other variants
   set(MULTI_THREADED_COMPILE_FLAGS "-pthread")
- set(MULTI_THREADED_LINK_FLAGS "-lrt")
+ set(MULTI_THREADED_LINK_FLAGS "-lpthread -lrt")
 endif(CMAKE_SYSTEM_NAME STREQUAL "SunOS")
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk