summaryrefslogtreecommitdiffstats
path: root/Help/envvar
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-09-25 19:59:20 (GMT)
committerBrad King <brad.king@kitware.com>2023-09-25 20:06:30 (GMT)
commit8124950f6ca7d5f5157e48bf3e881115c23bb224 (patch)
treeac00716a6a9675d9621bfbd3d3df2d3261faf707 /Help/envvar
parent9575e6f57bf21244d48aaf041bb0c975c8dbcd49 (diff)
downloadCMake-8124950f6ca7d5f5157e48bf3e881115c23bb224.zip
CMake-8124950f6ca7d5f5157e48bf3e881115c23bb224.tar.gz
CMake-8124950f6ca7d5f5157e48bf3e881115c23bb224.tar.bz2
CUDA: Generalize CMAKE_{CUDA => <LANG>}_HOST_COMPILER variable docs
Diffstat (limited to 'Help/envvar')
-rw-r--r--Help/envvar/CUDAHOSTCXX.rst6
1 files changed, 4 insertions, 2 deletions
diff --git a/Help/envvar/CUDAHOSTCXX.rst b/Help/envvar/CUDAHOSTCXX.rst
index 74f5d48..4e78afa 100644
--- a/Help/envvar/CUDAHOSTCXX.rst
+++ b/Help/envvar/CUDAHOSTCXX.rst
@@ -8,8 +8,10 @@ CUDAHOSTCXX
Preferred executable for compiling host code when compiling ``CUDA``
language files. Will only be used by CMake on the first configuration to
determine ``CUDA`` host compiler, after which the value for ``CUDAHOSTCXX`` is
-stored in the cache as :variable:`CMAKE_CUDA_HOST_COMPILER`. This environment
-variable is preferred over :variable:`CMAKE_CUDA_HOST_COMPILER`.
+stored in the cache as
+:variable:`CMAKE_CUDA_HOST_COMPILER <CMAKE_<LANG>_HOST_COMPILER>`.
+This environment variable is preferred over
+:variable:`CMAKE_CUDA_HOST_COMPILER <CMAKE_<LANG>_HOST_COMPILER>`.
This environment variable is primarily meant for use with projects that
enable ``CUDA`` as a first-class language.