Skip to content

CheckLanguage: Propagate CMAKE_CUDA_HOST_COMPILER

Tobias Ribizel requested to merge upsj/cmake:check_language_cuda_host into master

As discussed in the linked issue, any CMAKE_CUDA_HOST_COMPILER that was set outside CheckLanguage should be used inside and returned again.

Not sure how to test this with CUDA not always available, but it works both with and without host compiler on my system.

Fixes #25093

Edited by Tobias Ribizel

Merge request reports