We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7d5fe75 + 018d67a commit fc76e85Copy full SHA for fc76e85
1 file changed
laser_scan_matcher/CMakeLists.txt
@@ -13,7 +13,7 @@ set( ROS_CXX_DEPENDENCIES
13
nav_msgs)
14
15
# Find catkin and all required ROS components
16
-find_package(catkin REQUIRED COMPONENTS ${ROS_CXX_DEPENDENCIES} rostest)
+find_package(catkin REQUIRED COMPONENTS ${ROS_CXX_DEPENDENCIES})
17
find_package(PCL REQUIRED QUIET)
18
19
# Find csm project
@@ -68,5 +68,8 @@ install(FILES laser_scan_matcher_nodelet.xml
68
install(DIRECTORY demo
69
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION} )
70
71
-add_rostest(test/run.test)
72
-add_rostest(test/covariance.test)
+if(CATKIN_ENABLE_TESTING)
+ find_package(rostest)
73
+ add_rostest(test/run.test)
74
+ add_rostest(test/covariance.test)
75
+endif()
0 commit comments