mirror of
https://github.com/Kitware/CMake.git
synced 2025-12-31 19:00:54 -06:00
Tests: Restore CudaOnly.RuntimeControls cudart verification on Windows
Since commit fa45594407 (file(GET_RUNTIME_DEPENDENCIES): Preserve casing
for Windows PE binaries, 2023-03-06) we may find the cudart runtime
library with its on-disk casing instead of always lower-case.
This commit is contained in:
@@ -7,7 +7,7 @@ file(GET_RUNTIME_DEPENDENCIES
|
||||
EXECUTABLES ${EXEC_PATH}
|
||||
)
|
||||
|
||||
list(FILTER resolved_libs INCLUDE REGEX ".*cudart.*")
|
||||
list(FILTER resolved_libs INCLUDE REGEX ".*[Cc][Uu][Dd][Aa][Rr][Tt].*")
|
||||
list(LENGTH resolved_libs has_cudart)
|
||||
|
||||
if(has_cudart EQUAL 0)
|
||||
|
||||
Reference in New Issue
Block a user