I added cmake as build tool instead of ament_cmake. I think it's better doing it like this since lvr2 is actually a standalone library. It compiles both as standalone cmake package and in a ROS2 - humble repository. I tested it with the mesh_tools.
Other changes:
matched the cmake project name with the ROS package name (otherwise ROS is complaining)
Changed some cmake variables to more generic names
I added cmake as build tool instead of ament_cmake. I think it's better doing it like this since lvr2 is actually a standalone library. It compiles both as standalone cmake package and in a ROS2 - humble repository. I tested it with the mesh_tools.
Other changes: