Skip to content

Protect jsoncpp against multiple find_package() calls #288

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

Merged
merged 4 commits into from
Apr 23, 2022

Conversation

johnwason
Copy link
Contributor

There is a bug in newer jsoncpp versions that raises an error if find_package(jsoncpp) is called more than once. This PR fences the calls to check if the offending target already exists.

See open-source-parsers/jsoncpp#1356

find_package(ros_industrial_cmake_boilerplate REQUIRED)
find_package(osqp REQUIRED)
Copy link
Contributor

@Levi-Armstrong Levi-Armstrong Apr 22, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be added?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry that was from something else and I didn't remove it.

@Levi-Armstrong Levi-Armstrong merged commit fdf89c0 into tesseract-robotics:master Apr 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants