summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-07-15 10:30:08 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-07-15 10:30:16 (GMT)
commit43bde847ae882588b50cc8a4d801317fc30dc7da (patch)
treee7401b8f73a5de14753cc822460a7fa7e408b22f /Modules
parent84c9e14bc21a0555c561e38e3b8f69ea2e0a466a (diff)
parent7968d9d442d5582f12c9eb34e9883cc77bb1b068 (diff)
downloadCMake-43bde847ae882588b50cc8a4d801317fc30dc7da.zip
CMake-43bde847ae882588b50cc8a4d801317fc30dc7da.tar.gz
CMake-43bde847ae882588b50cc8a4d801317fc30dc7da.tar.bz2
Merge topic 'doc-CMAKE_CUDA_HOST_COMPILER'
7968d9d442 Help: Document CMAKE_CUDA_HOST_COMPILER as specific to NVIDIA nvcc Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Raul Tambre <raul@tambre.ee> Merge-request: !5018
Diffstat (limited to 'Modules')
-rw-r--r--Modules/CheckLanguage.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CheckLanguage.cmake b/Modules/CheckLanguage.cmake
index d67d8d3..44387d4 100644
--- a/Modules/CheckLanguage.cmake
+++ b/Modules/CheckLanguage.cmake
@@ -20,7 +20,7 @@ test project. The result is cached in :variable:`CMAKE_<LANG>_COMPILER`
as the compiler that was found, or ``NOTFOUND`` if the language cannot be
enabled. For CUDA which can have an explicit host compiler, the cache
:variable:`CMAKE_CUDA_HOST_COMPILER` variable will be set if it was required
-for compilation.
+for compilation (and cleared if it was not).
Example: