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

Fix how ign compatibility files are copied in windows #419

Merged
merged 1 commit into from
Mar 29, 2024

Conversation

azeey
Copy link
Contributor

@azeey azeey commented Mar 29, 2024

🦟 Bug fix

Summary

Instead of relying on the installed gz cmake file, we copy the one from the source directory. This avoids relying on an absolute path formed using CMAKE_INSTALL_PREFIX, which doesn't work well when using CMAKE_STAGING_PREFIX.

This is needed to fix windows build failure of gz_cmake_vendor. https://ci.ros2.org/job/ci_windows/21361/console#console-section-25

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.

Instead of relying on the installed `gz` cmake file, we copy
the one from the source directory. This avoids relying on an absolute path
formed using `CMAKE_INSTALL_PREFIX`, which doesn't work well when using
`CMAKE_STAGING_PREFIX`.

Signed-off-by: Addisu Z. Taddese <[email protected]>
@azeey azeey merged commit 290b368 into gazebosim:gz-cmake3 Mar 29, 2024
9 checks passed
@azeey azeey deleted the fix_windows_copy branch March 29, 2024 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🌱 garden Ignition Garden 🎵 harmonic Gazebo Harmonic
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants