ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

Because the cmake config gets generated for the package and not for each lib seperately.

So you need to find_package your package A. The environment variables (e.g. A_LIBRARIES) are then populated with the libraries inside the package.

Because the cmake config gets generated for the package and not for each lib seperately.

So you need to find_package your package A. The environment variables (e.g. A_LIBRARIES) are then populated with the libraries inside the package.

To cite the question you link to:

• have a build_depend on my_package in its package.xml

• have called find_package(my_package REQUIRED) in its CMakeLists.txt