Skip to content

Commit

Permalink
Merge pull request #58 from bulwahn/indigo-devel
Browse files Browse the repository at this point in the history
make rostest in CMakeLists optional (ros/rosdistro#3010)
  • Loading branch information
tfoote committed Feb 27, 2014
2 parents abfc781 + bc9d3ef commit 651bc8c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tf/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ project(tf)
find_package(catkin REQUIRED)

find_package(Boost COMPONENTS thread signals system REQUIRED)
find_package(catkin COMPONENTS angles geometry_msgs message_filters message_generation rosconsole roscpp rostest rostime sensor_msgs std_msgs tf2_ros REQUIRED)
find_package(catkin COMPONENTS angles geometry_msgs message_filters message_generation rosconsole roscpp rostime sensor_msgs std_msgs tf2_ros REQUIRED)

catkin_python_setup()

Expand Down Expand Up @@ -48,6 +48,8 @@ target_link_libraries(static_transform_publisher ${PROJECT_NAME})
# Tests
if(CATKIN_ENABLE_TESTING)

find_package(rostest)

catkin_add_gtest(tf_unittest test/tf_unittest.cpp)
target_link_libraries(tf_unittest ${PROJECT_NAME})

Expand Down

0 comments on commit 651bc8c

Please sign in to comment.