Just use cufft
as the library, so that it shows up as -lcufft
in the actual linker command line.
The gcc linker used by nvcc for host code compilation and linking expects the libraries to be indicated like this:
Library:
/path/to/library/libmystuff.so
Linker switches:
-L/path/to/library/
-lmystuff
(notice that the lib
prefix and .so
suffix are dropped)