mborgerding / kissfft

a Fast Fourier Transform (FFT) library that tries to Keep it Simple, Stupid
Other
1.46k stars 283 forks source link

Allow building on BSD/Solaris/etc with CMake #64

Open alarixnia opened 3 years ago

alarixnia commented 3 years ago

It's not only GNU systems that need libm linked.

Note, the tests still fail for me with: error: ‘M_PIl’ was not declared in this scope; did you mean ‘M_PI’? 46 | long double phinc = 2k0 M_PIl / nfft;

Signed-off-by: Nia Alarie nia@NetBSD.org

basilgello commented 2 years ago

It's not only GNU systems that need libm linked.

And cross-compilers need -lm, too… Thanks for bringing this out!