Explorar o código

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).
Robert Maynard %!s(int64=2) %!d(string=hai) anos
pai
achega
0b6ae9c467
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      Modules/FindCUDAToolkit.cmake

+ 0 - 1
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)