This fixes an issue with the cmake install that causes problems when using this in an underlay workspace.
When you build this in an underlay and then try to build the overlay repo where something depends on it you get an error like this:
--- stderr: moveit_core
moveit_core: You did not request a specific build type: Choosing 'Release' for maximum performance
CMake Error at /opt/underlay_ws/install/srdfdom/share/srdfdom/cmake/ament_cmake_export_libraries-extras.cmake:48 (message):
Package 'srdfdom' exports the library 'srdfdom' which couldn't be found
This fixes an issue with the cmake install that causes problems when using this in an underlay workspace.
When you build this in an underlay and then try to build the overlay repo where something depends on it you get an error like this:
Documentation reference: https://index.ros.org/doc/ros2/Tutorials/Ament-CMake-Documentation/