Describe the bug
In devel branch YARP::YARP_rtf and YARP::YARP_manager imported targets if only find_package(YARP) is called, even if they are available .
To Reproduce
Just call find_package(YARP REQUIRED) and notice that YARP::YARP_rtf and YARP::YARP_manager are not defined. See for example https://github.com/robotology/icub-tests/blob/devel/CMakeLists.txt#L15 .
Expected behavior
YARP::YARP_rtf and YARP::YARP_manager should be defined, as it happened in YARP 2.3.72 .
Configuration (please complete the following information):
I don't agree on this, YARP_rtf and YARP_manager are very specific libraries, if you need them you should enable them explicitly with the relative component...
If we want to have a breaking change I am ok with this, but at least it should be documented in the release notes.
I just realized I lost somewhere the release notes about the COMPONENTS PR, I'm 100% sure I wrote something, but maybe in the thousands of rebases I lost the relative commit :sweat_smile:
Things that need to be updated after this change:
Done: d4b4aeb31f2fd8645298ae21c2971b2505dd98f8
Thanks. The components available are documented somewhere? I had to search in the CMake conf files if the name of the components was RTF or rtf .
@traversaro Nope, also because I'm not 100% if all the components will be stable (i.e., at some point I would like to merge run+companion+serversql and perhaps manager+logger+profiler).
These are the components available at the moment:
Stable
confdeveigengslmathOS (even though this could be changed to os in YARP 4 :wink: )pclrosmsgrosmsg_actionlib_msgsrosmsg_diagnostic_msgsrosmsg_geometry_msgsrosmsg_nativerosmsg_nav_msgsrosmsg_sensor_msgsrosmsg_shape_msgsrosmsg_std_msgsrosmsg_stereo_msgsrosmsg_tfrosmsg_tf2_msgsrosmsg_trajectory_msgsrosmsg_visualization_msgsrtfsigUnstable
companionloggermanagernameprofilerrunserversqlwire_rep_utils