Skip to content

Commit

Permalink
Adding conditional build dependencies (#572)
Browse files Browse the repository at this point in the history
* Adding conditional build dependencies
  • Loading branch information
ayrton04 committed Jun 3, 2020
1 parent 3f81184 commit a61a8a0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
<package format="2">
<package format="3">
<name>robot_localization</name>
<version>2.6.7</version>
<description>Provides nonlinear state estimation through sensor fusion of an abritrary number of sensors.</description>
Expand Down Expand Up @@ -35,7 +35,8 @@
<depend>yaml-cpp</depend>

<build_depend>message_generation</build_depend>
<build_depend>python-catkin-pkg</build_depend>
<build_depend condition="$ROS_PYTHON_VERSION == 2">python-catkin-pkg</build_depend>
<build_depend condition="$ROS_PYTHON_VERSION == 3">python3-catkin-pkg</build_depend>
<build_depend>roslint</build_depend>

<exec_depend>message_runtime</exec_depend>
Expand Down

0 comments on commit a61a8a0

Please sign in to comment.