From 5eb26fb943b25b13cd8f98739da894593e778f28 Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 18 Jan 2024 14:23:42 -0500 Subject: Tests: Fix CudaOnly.Toolkit coverage of npp libs --- Tests/CudaOnly/Toolkit/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/CudaOnly/Toolkit/CMakeLists.txt b/Tests/CudaOnly/Toolkit/CMakeLists.txt index b2694bf..df1c44c 100644 --- a/Tests/CudaOnly/Toolkit/CMakeLists.txt +++ b/Tests/CudaOnly/Toolkit/CMakeLists.txt @@ -57,7 +57,7 @@ set(npp_libs nppc nppial nppicc nppidei nppif nppig nppim nppist nppitc npps npp if(CUDAToolkit_VERSION_MAJOR VERSION_LESS 11) list(APPEND npp_libs nppicom) endif() -foreach (cuda_lib ) +foreach (cuda_lib IN LISTS npp_libs) if(NOT CUDA_${cuda_lib}_LIBRARY) message(FATAL_ERROR "expected CUDAToolkit variable CUDA_${cuda_lib}_LIBRARY not found") elseif(CUDA_${cuda_lib}_LIBRARY MATCHES [[\.\./]]) -- cgit v0.12