CUDA: Fix crash on linking to a CUDA target without CUDA enabled
Do not try to device link or add CUDA runtime libraries if the language is not enabled.
Fixes: #18673 (closed)
Issue: #18614
Topic-rename: cuda-external
Edited by Brad King
Do not try to device link or add CUDA runtime libraries if the language is not enabled.
Fixes: #18673 (closed)
Issue: #18614
Topic-rename: cuda-external