pal-robotics / aruco_ros

Software package and ROS wrappers of the Aruco Augmented Reality marker detector library
MIT License
455 stars 309 forks source link

fix(cmake): Broken export of header files an library targets. #128

Open JeyDee opened 9 months ago

JeyDee commented 9 months ago

The aruco_ros package in its current state doesn't export its header files, since it searches for ".h" files, but uses a ".hpp" instead. Also, it seems not to export any of the usual variables pointing towards the library. I reimplemented the CMakeLists.txt of aruco_ros to fix the broken export of header files and library targets. It now can be included referencing "${aruco_ros_TARGETS}" and "${aruco_ros_INCLUDE_DIRS}".