Skip to content

Commit

Permalink
make rostest in CMakeLists optional (ros/rosdistro#3010)
Browse files Browse the repository at this point in the history
  • Loading branch information
bulwahn authored and johaq committed Mar 30, 2018
1 parent 0332db6 commit e81c74c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base_local_planner/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ find_package(catkin REQUIRED
dynamic_reconfigure
nav_core
pcl_conversions
rostest
costmap_2d
pluginlib
angles
Expand Down Expand Up @@ -129,6 +128,7 @@ install(DIRECTORY include/${PROJECT_NAME}/
)

if(CATKIN_ENABLE_TESTING)
find_package(rostest)
catkin_add_gtest(base_local_planner_utest
test/gtest_main.cpp
test/utest.cpp
Expand Down

0 comments on commit e81c74c

Please sign in to comment.