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

CMake package registry breaks workspace isolation #91

Open
Levi-Armstrong opened this issue Aug 22, 2020 · 1 comment
Open

CMake package registry breaks workspace isolation #91

Levi-Armstrong opened this issue Aug 22, 2020 · 1 comment

Comments

@Levi-Armstrong
Copy link

We recently ran into issues with packages that leverage the CMake package registry feature. This feature breaks workspace isolation, should colcon automatically be passing the CMake disable flags?

  -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON
  -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON
@dirk-thomas
Copy link
Member

dirk-thomas commented Aug 26, 2020

I don't know enough about the CMake package registry to make a suggestion here. It sounds reasonable to me though.

Even with these flags embedded by default the user should be able to pass different values if desired.

Would you like to create a pull request for the proposed change?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants