From 383a9af1359fa38070cf44a7986c5668c4f76d3c Mon Sep 17 00:00:00 2001 From: Stephen Roderick Date: Mon, 19 Apr 2010 19:34:29 -0400 Subject: [PATCH] cmake: Add boost-thread dependent library to pkgconfig file for Mac OS X --- config/check_depend.cmake | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/config/check_depend.cmake b/config/check_depend.cmake index 947f20f..4d8425c 100644 --- a/config/check_depend.cmake +++ b/config/check_depend.cmake @@ -151,6 +151,8 @@ if(OROCOS_TARGET STREQUAL "macosx") find_package(Boost 1.33 COMPONENTS thread REQUIRED) endif () list(APPEND OROCOS-RTT_INCLUDE_DIRS ${Boost_thread_INCLUDE_DIRS} ) + # add to list of libraries in pkgconfig file + LIST(APPEND OROCOS-RTT_USER_LINK_LIBS ${Boost_THREAD_LIBRARY}) message( "Forcing ORO_OS_USE_BOOST_THREAD to ON") set( ORO_OS_USE_BOOST_THREAD ON CACHE BOOL "Forced enable use of Boost.thread on macosx." FORCE) -- 1.7.0.2