diff --git a/math/fftw/CMakeLists.txt b/math/fftw/CMakeLists.txt index 85376bf6cc79d2e91d4fd89eaeb71d8ab35d1b7c..8587e6410d43fb7840d87b43cde2323be52b22d7 100644 --- a/math/fftw/CMakeLists.txt +++ b/math/fftw/CMakeLists.txt @@ -3,9 +3,25 @@ # @author Pere Mato, CERN ############################################################################ -include_directories(${FFTW_INCLUDE_DIR}) - ROOT_STANDARD_LIBRARY_PACKAGE(FFTW - LIBRARIES ${FFTW_LIBRARIES} - DEPENDENCIES Core MathCore - BUILTINS FFTW3) + HEADERS + TFFTComplex.h + TFFTComplexReal.h + TFFTReal.h + TFFTRealComplex.h + SOURCES + src/TFFTComplex.cxx + src/TFFTComplexReal.cxx + src/TFFTReal.cxx + src/TFFTRealComplex.cxx + DICTIONARY_OPTIONS + -I${FFTW_INCLUDE_DIR} + DEPENDENCIES + Core + MathCore + BUILTINS + FFTW3 +) + +target_include_directories(FFTW PRIVATE ${FFTW_INCLUDE_DIR}) +target_link_libraries(FFTW PRIVATE ${FFTW_LIBRARIES})