ska-sa / spead2

Library for the Streaming Protocol for Exchange of Astronomical Data (SPEAD)
http://spead2.readthedocs.io/en/latest/
GNU Lesser General Public License v3.0
23 stars 14 forks source link

meson: simplify cuda_dep #256

Closed bmerry closed 1 year ago

bmerry commented 1 year ago

Using dependency('cuda') is only necessary if linking CUDA into a project that isn't using nvcc, or if using extra libs like cublas. Neither applies here, so I've replaced cuda_dep with an empty dependency. Dependencies are still helpful because one can use a disabler if CUDA is not found or is disabled by user options.