From fec755c4f17da127fb161d1ab493145fe47402df Mon Sep 17 00:00:00 2001 From: Stephen Roderick Date: Sun, 18 Jul 2010 14:41:34 -0400 Subject: [PATCH] cmake: Force mqueue transport to not be used in macosx --- config/check_depend.cmake | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/config/check_depend.cmake b/config/check_depend.cmake index 5886451..a445d9b 100644 --- a/config/check_depend.cmake +++ b/config/check_depend.cmake @@ -190,6 +190,10 @@ if(OROCOS_TARGET STREQUAL "macosx") 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) + # Force OFF on mqueue transport on macosx + message("Forcing ENABLE_MQ to OFF for macsox") + set(ENABLE_MQ OFF CACHE BOOL "This option is forced to OFF by the build system on macosx platform." FORCE) + # see also src/CMakeLists.txt as it adds the boost_thread library to OROCOS_RTT_LIBRARIES list(APPEND OROCOS-RTT_LIBRARIES ${PTHREAD_LIBRARIES} dl) list(APPEND OROCOS-RTT_DEFINITIONS "OROCOS_TARGET=${OROCOS_TARGET}") -- 1.7.1