1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-21 15:51:47 -05:00

Merge pull request #2250 from GlassOnTin/CUDAToolkit

Use new find_package(CUDA Toolkit)
This commit is contained in:
Edouard Griffiths 2024-09-13 17:22:38 +02:00 committed by GitHub
commit c03f8dcbac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -50,7 +50,7 @@ endif()
# CUDA Toolkit: https://developer.nvidia.com/cuda-downloads # CUDA Toolkit: https://developer.nvidia.com/cuda-downloads
if (${VKFFT_BACKEND} EQUAL 1) if (${VKFFT_BACKEND} EQUAL 1)
find_package(CUDA 9.0) find_package(CUDAToolkit)
if(CUDA_FOUND) if(CUDA_FOUND)
enable_language(CUDA) enable_language(CUDA)
set(sdrbase_SOURCES set(sdrbase_SOURCES