summaryrefslogtreecommitdiffstats
path: root/common/cmake/FindOCLFFT.cmake
blob: fd9c156abd14af9eb69b4df8f46cb975b3272fd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Try to find liboclfft and clFFT.h. Once found the following variables will be
# defined:
#
# OCLFFT_FOUND
# OCLFFT_INCLUDE_DIRS
# OCLFFT_LIBRARIES

find_path(OCLFFT_INCLUDE_DIRS clFFT.h)
find_library(OCLFFT_LIBRARIES oclfft)

include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(OCLFFT DEFAULT_MSG OCLFFT_INCLUDE_DIRS OCLFFT_LIBRARIES)

mark_as_advanced(OCLFFT_INCLUDE_DIRS OCLFFT_LIBRARIES)