CUDA: Add CMAKE_CUDA_HOST_COMPILER support on Windows non-VS generators

This commit is contained in:
unknown
2021-04-21 09:51:31 -04:00
committed by Brad King
parent 995be1097c
commit 625ef88a92
5 changed files with 22 additions and 22 deletions
@@ -23,3 +23,7 @@ is read-only and changes to it are undefined behavior.
:variable:`CMAKE_CUDA_COMPILER_ID <CMAKE_<LANG>_COMPILER_ID>` is ``NVIDIA``,
it does not make sense to set ``CMAKE_CUDA_HOST_COMPILER`` without also
setting ``CMAKE_CUDA_COMPILER`` to NVCC.
.. note::
Ignored when using :ref:`Visual Studio Generators`.