fanxu/ffld

could not find fftw3

dahwang22 opened this issue · 0 comments

Hi, I get the message of the title when I cmake, what can I change blow(I had make fftw3 from source code & try install libfft3-dev in linux):
FIND_PATH(FFTW3_INCLUDE_DIR fftw3.h)
IF(FFLD_HOGPYRAMID_DOUBLE)
FIND_LIBRARY(FFTW3_LIBRARIES fftw3)
ELSE()
FIND_LIBRARY(FFTW3_LIBRARIES fftw3f)
ENDIF()
IF(NOT FFTW3_INCLUDE_DIR OR NOT FFTW3_LIBRARIES)
MESSAGE(FATAL_ERROR "Could not find fftw3.")
ENDIF()
INCLUDE_DIRECTORIES(${FFTW3_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(ffld_cmd ${FFTW3_LIBRARIES})