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

Only find python if needed #473

Merged
merged 1 commit into from
Feb 13, 2025
Merged

Conversation

scpeters
Copy link
Member

🦟 Bug fix

Partial backport of find logic from #431

Summary

Update GzBuildTests and GzCodeCheck to only search for python if it hasn't already been found. Otherwise we might search for the wrong components.

This may fix the cmake warning unhidden by gazebosim/gz-math#663.

Checklist

  • Signed all commits for DCO
  • Added tests
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • Consider updating Python bindings (if the library has them)
  • codecheck passed (See contributing)
  • All tests passed (See test coverage)
  • While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

Update GzBuildTests and GzCodeCheck to only search
for python if it hasn't already been found. Otherwise
we might search for the wrong components.

Signed-off-by: Steve Peters <[email protected]>
@scpeters scpeters requested a review from j-rivero as a code owner February 13, 2025 07:45
@github-actions github-actions bot added the 🎵 harmonic Gazebo Harmonic label Feb 13, 2025
@j-rivero j-rivero merged commit e15ee5b into gz-cmake3 Feb 13, 2025
11 checks passed
@j-rivero j-rivero deleted the scpeters/only_find_python_if_needed branch February 13, 2025 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🎵 harmonic Gazebo Harmonic
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants