Fix a defect in the FFTW3 finder

It now does what it promises by setting FFTW3_INCLUDE_DIRS.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5360 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Bill Somerville 2015-05-12 15:27:05 +00:00
parent 5c941ab832
commit d9c4787e4e

View File

@ -91,3 +91,7 @@ list(APPEND _check_list FFTW3_INCLUDE_DIR)
# all listed variables are TRUE
include (FindPackageHandleStandardArgs)
find_package_handle_standard_args (FFTW3 DEFAULT_MSG ${_check_list})
if (FFTW3_FOUND)
set (FFTW3_INCLUDE_DIRS ${FFTW3_INCLUDE_DIR})
endif (FFTW3_FOUND)