--- config/check_depend.cmake.orig	2009-11-09 06:15:53.000000000 -0500
+++ config/check_depend.cmake	2010-02-02 16:30:34.000000000 -0500
@@ -143,7 +143,9 @@
 if(OROCOS_TARGET STREQUAL "macosx")
   set(OROPKG_OS_MACOSX TRUE CACHE INTERNAL "This variable is exported to the rtt-config.h file to expose our target choice to the code." FORCE)
 
-  find_package(Boost 1.33 COMPONENTS thread REQUIRED)
+  if (NOT Boost_THREAD_FOUND)
+	find_package(Boost 1.33 REQUIRED thread)
+  endif ()
   list(APPEND OROCOS-RTT_INCLUDE_DIRS ${Boost_thread_INCLUDE_DIRS} )
 
   message( "Forcing ORO_OS_USE_BOOST_THREAD to ON")

