diff options
Diffstat (limited to 'common/cmake/FindOCLFFT.cmake')
-rw-r--r-- | common/cmake/FindOCLFFT.cmake | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/common/cmake/FindOCLFFT.cmake b/common/cmake/FindOCLFFT.cmake new file mode 100644 index 0000000..fd9c156 --- /dev/null +++ b/common/cmake/FindOCLFFT.cmake @@ -0,0 +1,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) |