diff --git a/CMakeLists.txt b/CMakeLists.txt index fd897a3..1f140b3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 2.8.3) project(camera_info_manager_py) -find_package(catkin REQUIRED COMPONENTS rospy rostest sensor_msgs) +find_package(catkin REQUIRED COMPONENTS rospy sensor_msgs) include_directories(include ${catkin_INCLUDE_DIRS}) catkin_python_setup() @@ -9,5 +9,6 @@ catkin_package(CATKIN_DEPENDS sensor_msgs) # Unit test uses nose, but needs rostest to create a ROS environment. if (CATKIN_ENABLE_TESTING) + find_package(rostest) add_rostest(tests/unit_test.test) endif(CATKIN_ENABLE_TESTING)