find_package(CUDA REQUIRED)
set(config)
so that the config variable used in generate_messages(...) gets cleared of anything remaining from finding CUDA. This successfully compiles.
However, I'm hesitant to call this a solution, since I don't know if catkin is expecting a value for config (hence why generate_messages(...) doesn't clear the variable itself)