Hello, just wanted to make sure.
Whenever you insert a package into find_package function from the CMake, you need to insert it as a build_depend in the package.xml right??
So, if we needed to insert in the CMake:
find_package(catkin REQUIRED COMPONENTS
rospy
std_msgs
message_generation
)
The package.xml should look like this:
<buildtool_depend>catkin</buildtool_depend>
<build_depend>message_generation</build_depend>
<build_depend>std_msgs</build_depend>
<build_depend>rospy</build_depend>
<build_export_depend>message_runtime</build_export_depend>
<exec_depend>rospy</exec_depend>
`I wanted to post this, since in the “solution” it says we just need to load std_msgs with build_depend.
Thanks from advance.
Bests,
Ángel López