diff options
author | Brad King <brad.king@kitware.com> | 2023-03-27 13:26:00 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-03-27 13:27:53 (GMT) |
commit | 7dffe99ad8bf6c34421632aa277dc09d48085cb2 (patch) | |
tree | 913010d2c5b018d2cbd8b0a2d717f451b704d686 /Tests | |
parent | d0ba94707025275579e41636e67052d287d275b2 (diff) | |
download | CMake-7dffe99ad8bf6c34421632aa277dc09d48085cb2.zip CMake-7dffe99ad8bf6c34421632aa277dc09d48085cb2.tar.gz CMake-7dffe99ad8bf6c34421632aa277dc09d48085cb2.tar.bz2 |
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.
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/CudaOnly/RuntimeControls/verify_runtime.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CudaOnly/RuntimeControls/verify_runtime.cmake b/Tests/CudaOnly/RuntimeControls/verify_runtime.cmake index b313dac..27fbe45 100644 --- a/Tests/CudaOnly/RuntimeControls/verify_runtime.cmake +++ b/Tests/CudaOnly/RuntimeControls/verify_runtime.cmake @@ -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) |