Ticket #23523: patch-config-check_depend.cmake.diff

File patch-config-check_depend.cmake.diff, 607 bytes (added by kiwi.2008@…, 14 years ago)

Patch file for orocos-rtt port

  • config/check_depend.cmake

    old new  
    143143if(OROCOS_TARGET STREQUAL "macosx")
    144144  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)
    145145
    146   find_package(Boost 1.33 COMPONENTS thread REQUIRED)
     146  if (NOT Boost_THREAD_FOUND)
     147        find_package(Boost 1.33 REQUIRED thread)
     148  endif ()
    147149  list(APPEND OROCOS-RTT_INCLUDE_DIRS ${Boost_thread_INCLUDE_DIRS} )
    148150
    149151  message( "Forcing ORO_OS_USE_BOOST_THREAD to ON")