Skip to content

Commit 22ecdd4

Browse files
authored
Added ros_environment dependency to make sure ROS_VERSION is initialized (#420)
1 parent 474f33b commit 22ecdd4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

package.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
<author>Michele Colledanchise</author>
1414
<author>Davide Faconti</author>
1515

16+
<build_depend>ros_environment</build_depend>
17+
1618
<buildtool_depend condition="$ROS_VERSION == 1">catkin</buildtool_depend>
1719
<depend condition="$ROS_VERSION == 1">roslib</depend>
1820

@@ -23,7 +25,7 @@
2325
<depend>boost</depend>
2426
<depend>libzmq3-dev</depend>
2527
<depend>libncurses-dev</depend>
26-
28+
2729
<test_depend condition="$ROS_VERSION == 2">ament_cmake_gtest</test_depend>
2830

2931
<export>

0 commit comments

Comments
 (0)