Closed claudiofantacci closed 6 years ago
As discussed f2f, I'd better go for a full update in favor of YARP 3.0.0 without keeping backward compatibility.
Anyway, dealing with YARP_MODULE_PATH
is still required somehow for finding ACE
without YCM.
Will clean this up soon.
That's ok @pattacini, we can sort this out together as soon as we have some time 😄 .
Thanks!
Starting from
YARP 3.0.0
,YARP_MODULE_PATH
is deprecated and the YARP CMake modules are automatically included. See here.As a consequence, if you use
ICUBcontrib
the following line spawns warning(s). https://github.com/robotology/icub-contrib-common/blob/a64acb1e501944d326b0e8c21af06640a7b16a64/templates/ICUBcontribConfig.cmake.in#L8My suggestion for backward compatibility is to check whether
YARP_VERSION_MAJOR LESS 3
and appendYARP_MODULE_PATH
or not.