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

Do not ignore ${SWIG_DIR} when invoking ${SWIG_EXECUTABLE} #3108

Merged
merged 2 commits into from
Jun 3, 2024

Conversation

traversaro
Copy link
Member

Without this fix, the compilation with a custom non-system swig is failing. See https://github.com/Kitware/CMake/blob/v3.29.2/Modules/UseSWIG.cmake#L725 for similar code inside CMake.

This is important for compatibility with Ubuntu 24.04 when using apt dependencies, as the swig that ships with Ubuntu 24.04 is swig 4.2.0, that is not compatible with YARP.

Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@randaz81 randaz81 self-requested a review June 3, 2024 09:30
@randaz81 randaz81 self-assigned this Jun 3, 2024
@randaz81 randaz81 merged commit e8ddfd3 into robotology:master Jun 3, 2024
5 of 15 checks passed
@randaz81 randaz81 added the Component: Bindings swig, python, java, ruby, perl, octave, matlab, lua, csharp, tcl label Jun 3, 2024
@randaz81 randaz81 added this to the YARP 3.10.0 milestone Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Bindings swig, python, java, ruby, perl, octave, matlab, lua, csharp, tcl
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants