CUDA/Clang: Fix separable compilation in non-root directories with Makefile generators
Seems the relative paths were wrong basically all around such that only compiling files in the top-level directory would work. I've modified CudaOnly.SeparateCompilation to cover this.
Fixes: #22482 (closed)
Backport: release
Edited by Brad King