ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
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.
2 | No.2 Revision |
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