Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding conditional build dependencies #572

Merged
merged 2 commits into from
Jun 3, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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