catkin metapackage now requires CMakeLists.txt?
I updated my ROS installation today and now catkin_make
is spitting warnings for my metapackages:
-- ~~ - ycs_msgs (metapackage)
WARNING: The metapackage 'ycs_msgs' has no CMakeLists.txt. Please add one to the package source. You can use the following file: /opt/yujin/ycs/catkin_ws/build/catkin_generated/metapackages/ycs_msgs/CMakeLists.txt
The two things I wonder about now are:
- The warning tells me to add a CMakeLists.txt to my metapackages, while the instructions on the catkin wiki page tells me different:
Metapackages do not require a CMakeLists.txt file. If one is provided, it is ignored by catkin.
- The proposed CMakeLists.txt contains the new macro call
catkin_metapackage()
. Is there any information about this functionality out there?
I had an old CmakeLists.txt (created by catkin_create_pkg) in one metapackage which caused the build to break, since they are not ignored anymore. Those old lists make catkin think these metapackages are non-catkin packages. Might be worth to send out a warning on ros-users.