eyalroz / cuda-api-wrappers

Thin, unified, C++-flavored wrappers for the CUDA APIs
BSD 3-Clause "New" or "Revised" License
786 stars 80 forks source link

Have all targets mark dependencies of CUDA library dependencies which NVIDIA ignores #583

Closed eyalroz closed 8 months ago

eyalroz commented 8 months ago

It seems that libcuda and libcudart both currently depend on libdl, libphtreads and librt; and libcuda on libm. CMake doesn't seem to mark these dependencies, so - let's mark them ourselves.