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 130s committed Jun 3, 2017
1 parent f51bab9 commit 7adae33
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion smach_ros/CMakeLists.txt
Expand Up @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 2.8.3)

project(smach_ros)

find_package(catkin REQUIRED COMPONENTS rostest)
find_package(catkin REQUIRED)

catkin_python_setup()

Expand All @@ -11,6 +11,7 @@ catkin_package(
)

if(CATKIN_ENABLE_TESTING)
find_package(rostest REQUIRED)
add_rostest(test/state_machine.test)
add_rostest(test/sequence.test)
add_rostest(test/concurrence.test)
Expand Down

0 comments on commit 7adae33

Please sign in to comment.