mborgerding / kissfft

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

cmake: fix detection when openmp is enabled #92

Open stkw0 opened 5 months ago

stkw0 commented 5 months ago

When openmp was enabled it was falling with the next error:

CMake Error at /usr/lib64/cmake/kissfft/kissfft-config.cmake:104 (message):
  kissfft with datatype=simd is not installed
Call Stack (most recent call first):
  CMakeLists.txt:9 (find_package)

because on the last version it was changed to install with "-openmp" suffix if openmp was enabled, but this change was not applied to kissfft-config.cmake.in file.