Set default FFT lib to FFTW
This commit is contained in:
parent
9f96858de1
commit
7e3c117ce1
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user