Warning, /multimedia/amarok/cmake/modules/FindFFTW3.cmake is written in an unsupported language. File is not indexed.
0001 # FindFFTW3 0002 # --------- 0003 # 0004 # Try to locate the FFTW3 library. 0005 # If found, this wil define the following variables: 0006 # 0007 # FFTW3_FOUND TRUE if the system has the fftw3 library 0008 # FFTW3_INCLUDE_DIRS The fftw3 include directory 0009 # FFTW3_LIBRARIES The fftw3 libraries 0010 0011 find_package(PkgConfig) 0012 pkg_check_modules(PC_FFTW3 QUIET fftw3) 0013 0014 find_path(FFTW3_INCLUDE_DIRS 0015 NAMES fftw3.h 0016 HINTS ${PC_FFTW3_INCLUDEDIR} ${PC_FFTW3_INCLUDE_DIRS} 0017 ) 0018 0019 find_library(FFTW3_LIBRARIES 0020 NAMES fftw3 0021 HINTS ${PC_FFTW3_LIBDIR} ${PC_FFTW3_LIBRARY_DIRS} 0022 ) 0023 0024 include(FindPackageHandleStandardArgs) 0025 find_package_handle_standard_args(FFTW3 REQUIRED_VARS FFTW3_LIBRARIES FFTW3_INCLUDE_DIRS) 0026 0027 mark_as_advanced(FFTW3_INCLUDE_DIRS FFTW3_LIBRARIES) 0028 set_package_properties(FFTW3 PROPERTIES 0029 URL "http://www.fftw.org/" 0030 DESCRIPTION "A C subroutine library for computing the discrete Fourier transform" 0031 )