fix cmake for gpuvector

This commit is contained in:
Tobias Meyer Andersen 2024-08-23 13:02:09 +02:00
parent d925d62bf2
commit e14ebcb826

View File

@ -530,7 +530,7 @@ if(CUDA_FOUND)
if (NOT USE_HIP)
target_link_libraries( opmsimulators PUBLIC ${CUDA_cusparse_LIBRARY} )
target_link_libraries( opmsimulators PUBLIC ${CUDA_cublas_LIBRARY} )
foreach(tgt test_gpu_safe_call test_cuda_check_last_error test_cuvector)
foreach(tgt test_gpu_safe_call test_cuda_check_last_error test_GpuVector)
target_link_libraries(${tgt} CUDA::cudart)
endforeach()
endif()