summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorRobert Maynard <rmaynard@nvidia.com>2023-10-04 15:51:24 (GMT)
committerBrad King <brad.king@kitware.com>2023-10-04 16:10:02 (GMT)
commit0b6ae9c4675ca6cae710caee315d35921d84fb2c (patch)
tree8de49ea12319cf499c27d17146ab8c45dd24aee4 /Modules
parentbbba1879ffce1eda178950a3d06a2b185039c50e (diff)
downloadCMake-0b6ae9c4675ca6cae710caee315d35921d84fb2c.zip
CMake-0b6ae9c4675ca6cae710caee315d35921d84fb2c.tar.gz
CMake-0b6ae9c4675ca6cae710caee315d35921d84fb2c.tar.bz2
FindCUDAToolkit: Restore CUDAToolkit_LIBRARY_SEARCH_DIRS variable
This was accidentally dropped by commit 4316d4dcfd (FindCUDAToolkit: Search all of `nvcc` implicit includes and library dirs, 2023-09-26).
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindCUDAToolkit.cmake1
1 files changed, 0 insertions, 1 deletions
diff --git a/Modules/FindCUDAToolkit.cmake b/Modules/FindCUDAToolkit.cmake
index bd9e0ec..8f0f5bf 100644
--- a/Modules/FindCUDAToolkit.cmake
+++ b/Modules/FindCUDAToolkit.cmake
@@ -1332,7 +1332,6 @@ if(CUDAToolkit_FOUND)
_CUDAToolkit_find_and_add_import_lib(OpenCL)
endif()
-unset(CUDAToolkit_LIBRARY_SEARCH_DIRS)
if(_CUDAToolkit_Pop_ROOT_PATH)
list(REMOVE_AT CMAKE_FIND_ROOT_PATH 0)
unset(_CUDAToolkit_Pop_ROOT_PATH)