mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Adding PocketFFT support in FFT module since kissfft has some flaw in accuracy and performance
This commit is contained in:
committed by
Rasmus Munk Larsen
parent
73d65dbc43
commit
00b75375e7
@@ -77,6 +77,17 @@ else()
|
||||
ei_add_property(EIGEN_MISSING_BACKENDS "fftw, ")
|
||||
endif()
|
||||
|
||||
find_path(POCKETFFT pocketfft_hdronly.h)
|
||||
if(POCKETFFT)
|
||||
if(EIGEN_TEST_CXX11)
|
||||
ei_add_property(EIGEN_TESTED_BACKENDS "pocketfft, ")
|
||||
include_directories( ${POCKETFFT} )
|
||||
ei_add_test(pocketfft "-pthread" "${CMAKE_THREAD_LIBS_INIT}" "-DEIGEN_POCKETFFT_DEFAULT" )
|
||||
endif()
|
||||
else()
|
||||
ei_add_property(EIGEN_MISSING_BACKENDS "pocketfft, ")
|
||||
endif()
|
||||
|
||||
option(EIGEN_TEST_OPENGL "Enable OpenGL support in unit tests" OFF)
|
||||
if(EIGEN_TEST_OPENGL)
|
||||
find_package(OpenGL)
|
||||
|
||||
Reference in New Issue
Block a user