File: FindFFTW3.cmake

package info (click to toggle)
teem 1.12.0~20160122-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 12,404 kB
  • sloc: ansic: 152,549; python: 10,748; perl: 281; sh: 58; makefile: 44; cpp: 26
file content (22 lines) | stat: -rw-r--r-- 355 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

find_path(FFTW3_INCLUDE_DIR fftw3.h
  /usr/local/include
  /usr/include
)

find_library(FFTW3_LIBRARY fftw3
  /usr/lib
  /usr/local/lib
)

set(FFTW3_FOUND FALSE)
if(FFTW3_INCLUDE_DIR AND FFTW3_LIBRARY)
    set(FFTW3_LIBRARIES ${FFTW3_LIBRARY} )
    set(FFTW3_FOUND TRUE)
endif()

mark_as_advanced(
  FFTW3_INCLUDE_DIR
  FFTW3_LIBRARIES
  FFTW3_FOUND
  )