Set default FFT lib to FFTW

This commit is contained in:
Anne de Jong 2020-10-18 14:09:51 +02:00
parent 9f96858de1
commit 7e3c117ce1

View File

@ -24,8 +24,8 @@ add_definitions(-DLASP_MAX_NFFT=33554432) # 2**25
add_definitions(-D_REENTRANT) add_definitions(-D_REENTRANT)
# ############### Choose an fft backend here # ############### Choose an fft backend here
set(LASP_FFT_BACKEND fftpack) # set(LASP_FFT_BACKEND fftpack)
#set(LASP_FFT_BACKEND "fftw") set(LASP_FFT_BACKEND "fftw")
if(LASP_FFT_BACKEND STREQUAL "fftw") if(LASP_FFT_BACKEND STREQUAL "fftw")
find_library(FFTW_LIBRARY NAMES fftw3 fftw) find_library(FFTW_LIBRARY NAMES fftw3 fftw)