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 if statement in catkin_libraries #1050

Merged

Conversation

poggenhans
Copy link
Contributor

Currently, when catkin_package(LIBRARIES ...) is called with an interface library that has more than one INTERFACE_LINK_LIBRARIES, catkin chokes on it with the error:

CMake Error at /opt/mrtros/share/catkin/cmake/catkin_libraries.cmake:140 (if):
  if given arguments:

    "library1" "library2"

  Unknown arguments specified

This PR fixes the syntax error that causes this problem. All followings commands seem to be able to handle multiple values in ${${lib}_interface_link_libraries}.

@dirk-thomas
Copy link
Member

Thank you for the fix.

@dirk-thomas dirk-thomas merged commit d95c66b into ros:kinetic-devel Jan 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants