From d3ebef4f708f92cd348232d8629c918a6057e521 Mon Sep 17 00:00:00 2001 From: Robert Maynard Date: Thu, 27 Jun 2019 14:39:24 -0400 Subject: CMAKE_CUDA_HOST_COMPILER: Document it takes priority over CUDAHOSTCXX --- Help/variable/CMAKE_CUDA_HOST_COMPILER.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Help/variable/CMAKE_CUDA_HOST_COMPILER.rst b/Help/variable/CMAKE_CUDA_HOST_COMPILER.rst index eea2c4f..6d34c5c 100644 --- a/Help/variable/CMAKE_CUDA_HOST_COMPILER.rst +++ b/Help/variable/CMAKE_CUDA_HOST_COMPILER.rst @@ -4,4 +4,5 @@ CMAKE_CUDA_HOST_COMPILER Executable to use when compiling host code when compiling ``CUDA`` language files. Maps to the ``nvcc -ccbin`` option. Will only be used by CMake on the first configuration to determine a valid host compiler for ``CUDA``. After a valid -host compiler has been found, this value is read-only. +host compiler has been found, this value is read-only. This variable takes +priority over the :envvar:`CUDAHOSTCXX` environment variable. -- cgit v0.12