summaryrefslogtreecommitdiff
path: root/Modules/FindCUDAToolkit.cmake
diff options
context:
space:
mode:
authorRaul Tambre <raul@tambre.ee>2020-06-12 17:30:17 +0300
committerRaul Tambre <raul@tambre.ee>2020-06-12 23:13:57 +0300
commitec59fb6c315f2797e72cab985110555c63ba65f8 (patch)
treef0d4c250cc029da76f9be52308e1d5eddfa087fe /Modules/FindCUDAToolkit.cmake
parent0a056246a1839cbb89b72e8f1f65b583f33f794b (diff)
downloadcmake-ec59fb6c315f2797e72cab985110555c63ba65f8.tar.gz
CUDA: Determine CUDA toolkit location for NVCC
Similar to how we already do for Clang. Avoids a lot of redundant work in FindCUDAToolkit.
Diffstat (limited to 'Modules/FindCUDAToolkit.cmake')
-rw-r--r--Modules/FindCUDAToolkit.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindCUDAToolkit.cmake b/Modules/FindCUDAToolkit.cmake
index 0c8a441320..00d1a504c4 100644
--- a/Modules/FindCUDAToolkit.cmake
+++ b/Modules/FindCUDAToolkit.cmake
@@ -477,7 +477,7 @@ Result variables
#
###############################################################################
-# On Clang the toolkit is found during compiler detection and stored in CMakeCUDACompiler.cmake as
+# The toolkit is located during compiler detection for CUDA and stored in CMakeCUDACompiler.cmake as
# CMAKE_CUDA_COMPILER_TOOLKIT_ROOT and CMAKE_CUDA_COMPILER_LIBRARY_ROOT.
# We compute the rest based on those here to avoid re-searching and to avoid finding a possibly
# different installation.