Skip to content

Vendor package requires sudo #26

@roncapat

Description

@roncapat

${CMAKE_COMMAND} -E chdir <SOURCE_DIR>/src sudo make install MAN=<SOURCE_DIR>/src_app LDFLAGS=-Wl,c.ar\ -pthread && ${CMAKE_COMMAND} -E chdir <SOURCE_DIR>/src_app sudo make install LDFLAGS=-Wl,c.ar\ -pthread

... however, common ROS 2 practice for vendor packages is to install everything in the workspace install folder and not touch system-wide folders.

For example, I should not see the vendor package trying to write /usr/local/bin/cobra.

I think BINDIR should be defined for make to put the cobra executable in the install folder of the workspace.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions