Skip to content

Commit 5703c74

Browse files
committed
COMP: Reworked ITKFFT_SRCS for FFTW and cuFFTW use
Added itkFFTWFFTImageFilterInitFactory.cxx to ITKFFT_SRCS for all FFTW builds Added itkFFTWGlobalConfiguration.cxx to ITKFFT_SRCS for FFTW but NOT cuFFTW
1 parent 5b9861d commit 5703c74

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

Modules/Filtering/FFT/src/CMakeLists.txt

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
set(ITKFFT_SRCS
2-
itkComplexToComplexFFTImageFilter.cxx
3-
itkVnlFFTImageFilterInitFactory.cxx
4-
itkFFTWFFTImageFilterInitFactory.cxx)
2+
itkComplexToComplexFFTImageFilter.cxx
3+
itkVnlFFTImageFilterInitFactory.cxx)
54

6-
if(ITK_USE_FFTWF OR ITK_USE_FFTWD AND NOT ITK_USE_CUFFTW)
7-
list(APPEND ITKFFT_SRCS itkFFTWGlobalConfiguration.cxx)
5+
if(ITK_USE_FFTWF OR ITK_USE_FFTWD)
6+
list(APPEND ITKFFT_SRCS itkFFTWFFTImageFilterInitFactory.cxx)
7+
if(NOT ITK_USE_CUFFTW)
8+
list(APPEND ITKFFT_SRCS itkFFTWGlobalConfiguration.cxx)
9+
endif()
810
endif()
911

1012
itk_module_add_library(ITKFFT ${ITKFFT_SRCS})
1113

1214
# this library is only needed if FFTW is used
1315
if(ITK_USE_FFTWF OR ITK_USE_FFTWD AND NOT ITK_USE_CUFFTW)
14-
1516
if(ITK_USE_FFTWD)
1617
if(NOT ITK_USE_SYSTEM_FFTW)
1718
add_dependencies(ITKFFT fftwd) # Ensure that local FFTW is built before using

0 commit comments

Comments
 (0)