Skip to content

Commit

Permalink
soem: some more patches to make the stack compile with ROS electric
Browse files Browse the repository at this point in the history
Signed-off-by: Steven Bellens <[email protected]>
  • Loading branch information
Steven Bellens committed Oct 21, 2011
1 parent dfb50fe commit 37868f8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
6 changes: 2 additions & 4 deletions soem_beckhoff_drivers/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,15 @@ if (ROS_ROOT)
include($ENV{ROS_ROOT}/core/rosbuild/rosbuild.cmake)
rosbuild_init()
rosbuild_find_ros_package( rtt )
rosbuild_find_ros_package( ocl )
set( RTT_HINTS HINTS ${rtt_PACKAGE_PATH}/install )
set( OCL_HINTS HINTS ${ocl_PACKAGE_PATH}/install )
set( RTT_HINTS HINTS ${rtt_PACKAGE_PATH}/../install )
endif()

#uncomment if you have defined messages
rosbuild_genmsg()

# Set the CMAKE_PREFIX_PATH in case you're not using Orocos through
# ROS for helping these find commands find RTT.
find_package(OROCOS-RTT HINTS ${rtt_PACKAGE_PATH}/../install )
find_package(OROCOS-RTT REQUIRED ${RTT_HINTS} )

# Defines the orocos_* cmake macros. See that file for additional
# documentation.
Expand Down
2 changes: 1 addition & 1 deletion soem_ebox/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ if (ROS_ROOT)
include($ENV{ROS_ROOT}/core/rosbuild/rosbuild.cmake)
rosbuild_init()
rosbuild_find_ros_package( rtt )
set( RTT_HINTS HINTS ${rtt_PACKAGE_PATH}/install )
set( RTT_HINTS HINTS ${rtt_PACKAGE_PATH}/../install )
endif()

# Set the CMAKE_PREFIX_PATH in case you're not using Orocos through ROS
Expand Down
4 changes: 2 additions & 2 deletions soem_master/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ if (ROS_ROOT)
include($ENV{ROS_ROOT}/core/rosbuild/rosbuild.cmake)
rosbuild_init()
rosbuild_find_ros_package( rtt )
set( RTT_HINTS HINTS ${rtt_PACKAGE_PATH}/install )
set( RTT_HINTS HINTS ${rtt_PACKAGE_PATH}/../install )
endif()
# Set the CMAKE_PREFIX_PATH in case you're not using Orocos through
# ROS for helping these find commands find RTT.
find_package(OROCOS-RTT HINTS ${rtt_PACKAGE_PATH}/../install )
find_package(OROCOS-RTT REQUIRED ${RTT_HINTS} )

# Defines the orocos_* cmake macros. See that file for additional
# documentation.
Expand Down

0 comments on commit 37868f8

Please sign in to comment.