CUDA Device link: Ensure all link options are correctly formatted
Starting with CMake
3.18, link options are now propagated to the device link step.
Unfortunately, options processing to ensure syntax of options is compatible with CUDA compiler was incomplete (see #21887 (closed) for example).
Fixes: #21994 (closed)
Backport: release
Edited by Brad King