NVCC: Detect host compiler id and version

Report them in CMAKE_<LANG>_HOST_COMPILER_{ID,VERSION} variables.

Fixes: #20901 (closed)

Merge request reports

Loading