2 # Find the native FFTW includes and library
 
   4 #  FFTW_INCLUDES    - where to find fftw3.h
 
   5 #  FFTW_LIBRARIES   - List of libraries when using FFTW.
 
   6 #  FFTW_FOUND       - True if FFTW found.
 
   9   # Already in cache, be silent
 
  10   set (FFTW_FIND_QUIETLY TRUE)
 
  13 find_path (FFTW_INCLUDES fftw3.h)
 
  15 find_library (FFTW_LIBRARIES NAMES fftw3)
 
  17 # handle the QUIETLY and REQUIRED arguments and set FFTW_FOUND to TRUE if
 
  18 # all listed variables are TRUE
 
  19 include (FindPackageHandleStandardArgs)
 
  20 find_package_handle_standard_args (FFTW DEFAULT_MSG FFTW_LIBRARIES FFTW_INCLUDES)
 
  22 mark_as_advanced (FFTW_LIBRARIES FFTW_INCLUDES)