summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-10-06 12:38:13 (GMT)
committerKitware Robot <kwrobot@kitware.com>2023-10-06 12:38:13 (GMT)
commit8547025ff20bd5f46c68fd186878d1cc3589438d (patch)
tree097001d0fe6b43beb5cddb404f8211912be6829d /Modules
parent24c5a3aecfee14ece66ecfe6198ddac1f465bbcd (diff)
parent0b6ae9c4675ca6cae710caee315d35921d84fb2c (diff)
downloadCMake-8547025ff20bd5f46c68fd186878d1cc3589438d.zip
CMake-8547025ff20bd5f46c68fd186878d1cc3589438d.tar.gz
CMake-8547025ff20bd5f46c68fd186878d1cc3589438d.tar.bz2
Merge topic 'findcuda_toolkit_restore_lib_search_dir' into release-3.28
0b6ae9c467 FindCUDAToolkit: Restore CUDAToolkit_LIBRARY_SEARCH_DIRS variable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8859
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)