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 installation directory of YARP python bindings #1763

Merged
merged 1 commit into from
Dec 9, 2024

Conversation

traversaro
Copy link
Member

@traversaro traversaro commented Dec 9, 2024

Fix #1762 .

The problem was two-fold:

  • There was a typo in which YARP_OPTIONAL_DEPS was used in place of YARP_OPTIONAL_CMAKE_ARGS
  • Differently from other libraries, the CMAKE_INSTALL_PYTHON3DIR is a PATH CACHE variable, so if we pass a relative path, it gets automatically expanded to the absolute path w.r.t. to the current work directory where cmake is invoked, while we want it to be relative w.r.t. ${YCM_EP_INSTALL_DIR} (i.e. the variable that is passed as CMAKE_INSTALL_PREFIX to all projects)

@traversaro
Copy link
Member Author

The Unstable failures are due to #1764, I think we can safely ignore them.

@traversaro traversaro merged commit f9c6fa2 into master Dec 9, 2024
18 of 29 checks passed
@traversaro traversaro deleted the traversaro-patch-8 branch December 9, 2024 18:11
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.

Error after installing python bindings
1 participant