From 8b0c566cbdf68c4c688d80727b7f43c42077f592 Mon Sep 17 00:00:00 2001 From: Lukas Bulwahn Date: Tue, 4 Apr 2017 14:39:25 +0200 Subject: [PATCH] make rostest in CMakeLists optional (ros/rosdistro#3010) --- base_local_planner/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base_local_planner/CMakeLists.txt b/base_local_planner/CMakeLists.txt index 1bae6a4b2c..5291812e6a 100644 --- a/base_local_planner/CMakeLists.txt +++ b/base_local_planner/CMakeLists.txt @@ -10,7 +10,6 @@ find_package(catkin REQUIRED dynamic_reconfigure nav_core pcl_conversions - rostest costmap_2d pluginlib angles @@ -128,6 +127,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