Declaring a dependency on a system package that is not available on Windows
I've searched for this (seemingly simple) question and went looking through the Windows CI logs, but haven't found a clear answer.
What happens if you have a package that declares a dependency (e.g. <depend>
or <exec_depend>
) on a system package that is (by design) not available on Windows?
Of course, I'm assuming that the CMakeLists.txt
is properly set up to detect Windows and "fail" (or reduce features). I'm just wondering what happens with rosdep
for CI/packaging jobs, especially for core ROS 2 packages. Does it fail? Does it just ignore the package?