Skip to content

Commit

Permalink
Specify --target-dir to install operation (#46)
Browse files Browse the repository at this point in the history
This already gets passed to the 'build' operation, but is missing for
'install' resulting in a 'targets' subdirectory in the source tree.
  • Loading branch information
cottsay authored Dec 5, 2024
1 parent 27c0b85 commit 725167f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions colcon_cargo/task/cargo/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ def _install_cmd(self, cargo_args):
'--locked',
'--path', '.',
'--root', args.install_base,
'--target-dir', args.build_base,
] + cargo_args

# Identify if there are any binaries to install for the current package
Expand Down

0 comments on commit 725167f

Please sign in to comment.