diff options
author | Raul Tambre <raul@tambre.ee> | 2020-06-12 14:30:17 (GMT) |
---|---|---|
committer | Raul Tambre <raul@tambre.ee> | 2020-06-12 20:13:57 (GMT) |
commit | ec59fb6c315f2797e72cab985110555c63ba65f8 (patch) | |
tree | f0d4c250cc029da76f9be52308e1d5eddfa087fe /Modules/FindCUDAToolkit.cmake | |
parent | 0a056246a1839cbb89b72e8f1f65b583f33f794b (diff) | |
download | CMake-ec59fb6c315f2797e72cab985110555c63ba65f8.zip CMake-ec59fb6c315f2797e72cab985110555c63ba65f8.tar.gz CMake-ec59fb6c315f2797e72cab985110555c63ba65f8.tar.bz2 |
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.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindCUDAToolkit.cmake b/Modules/FindCUDAToolkit.cmake index 0c8a441..00d1a50 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. |