ROS2 C++ node with CUDA

Hey there,

I would like to use CUDA in one of my ROS2 C++ nodes. However, I am struggling with creating the right CMakeLists.txt file. Could you maybe provide a minimal example for how to compile a ROS2 node with CUDA?

Best regards,
Christian