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 pkg-config file to respect ${prefix} variable for libs and headers #11

Merged
merged 2 commits into from
Feb 16, 2014
Merged

Fix pkg-config file to respect ${prefix} variable for libs and headers #11

merged 2 commits into from
Feb 16, 2014

Conversation

j-rivero
Copy link
Contributor

@j-rivero j-rivero commented Dec 3, 2013

Current pkg-config file does not include the ${prefix} pkg-config variable so the final result is not an absolute path but a relative one ('lib/').

Error was detected while testing sdformat using urdfdom pkg-config file, which will use console_bridge and end up showing errors like this. Fixing the console bridge pkg-config manually, with this pull request changes, fix the issue for me.

I believe that was @thomas-moulard who introduced the changes to the pkg config file.

@thomas-moulard
Copy link
Contributor

I plead guilty on this one. However the solution proposed here would be better be replaced by @CMAKE_INSTALL_FULL_LIBDIR@ and @CMAKE_INSTALL_FULL_INCLUDEDIR@ as GNUInstallDirs.cmake ensures that those variables are fully qualified path.

@j-rivero
Copy link
Contributor Author

j-rivero commented Dec 4, 2013

hehe, I knew that was a good option to CC you on this one. I've updated the pull request with your recommendation. Thanks.

BTW, I will add the patch to debian-science until we have a new release of console-bridge with this fix.

isucan added a commit that referenced this pull request Feb 16, 2014
Fix pkg-config file to respect ${prefix} variable for libs and headers
@isucan isucan merged commit 957e89c into ros:master Feb 16, 2014
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.

3 participants