Changeset View
Changeset View
Standalone View
Standalone View
cmake/FindFFTW.cmake
- This file was added.
1 | # Find the FFTW library | ||||
---|---|---|---|---|---|
2 | # | ||||
3 | # Usage: | ||||
4 | # find_package(FFTW [REQUIRED]) | ||||
5 | # | ||||
6 | # It sets the following variables: | ||||
7 | # FFTW_FOUND | ||||
8 | # FFTW_INCLUDES | ||||
9 | # FFTW_LIBRARIES | ||||
10 | | ||||
11 | | ||||
12 | find_path(FFTW_INCLUDES fftw3.h) | ||||
13 | | ||||
14 | find_library(FFTW_LIBRARIES NAMES fftw3) | ||||
15 | | ||||
16 | include(FindPackageHandleStandardArgs) | ||||
17 | find_package_handle_standard_args(FFTW DEFAULT_MSG | ||||
18 | FFTW_INCLUDES FFTW_LIBRARIES) | ||||
19 | | ||||
20 | mark_as_advanced(FFTW_INCLUDES FFTW_LIBRARIES) |