11 lines
302 B
CMake
11 lines
302 B
CMake
# third_party/CMakeLists.txt
|
|
|
|
if(LASP_FFT_BACKEND STREQUAL "FFTW")
|
|
find_library(FFTW_LIBRARY NAMES fftw3 fftw)
|
|
set(FFT_LIBRARIES "${FFTW_LIBRARY}")
|
|
elseif(LASP_FFT_BACKEND STREQUAL "FFTPack")
|
|
include_directories(fftpack)
|
|
set(FFT_LIBRARIES fftpack)
|
|
add_subdirectory(fftpack)
|
|
endif()
|