Does the generator for Java artifacts depend on the artifacts generated by any other generator? If not, this dependency can be removed. If yes, it should explicitly depend on the target generated by the respective generator, e.g. ${pkg}_generate_messages_py.
Catkin does not export the target ${pkg}_generate_messages, so for isolated builds (e.g. with catkin_make_isolated or catkin_tools) this target does not exist, which triggers the CMake warning reported in #7.
Does the generator for Java artifacts depend on the artifacts generated by any other generator? If not, this dependency can be removed. If yes, it should explicitly depend on the target generated by the respective generator, e.g.
${pkg}_generate_messages_py
.Catkin does not export the target
${pkg}_generate_messages
, so for isolated builds (e.g. withcatkin_make_isolated
or catkin_tools) this target does not exist, which triggers the CMake warning reported in #7.