mirror of
https://github.com/opencv/opencv.git
synced 2026-07-21 19:33:03 +04:00
Merge pull request #28662 from CSBVision:patch-9
Change file globbing to recursive for CUDA DLLs
This commit is contained in:
@@ -439,7 +439,7 @@ endmacro()
|
||||
macro(ocv_check_cuda_delayed_load cuda_toolkit_root_dir)
|
||||
if(MSVC AND CUDA_ENABLE_DELAYLOAD)
|
||||
set(DELAYFLAGS "delayimp.lib")
|
||||
file(GLOB CUDA_DLLS "${cuda_toolkit_root_dir}/bin/*.dll")
|
||||
file(GLOB_RECURSE CUDA_DLLS "${cuda_toolkit_root_dir}/bin/*.dll")
|
||||
foreach(d ${CUDA_DLLS})
|
||||
cmake_path(GET "d" FILENAME DLL_NAME)
|
||||
if(NOT ${DLL_NAME} MATCHES "cudart")
|
||||
|
||||
Reference in New Issue
Block a user