diff options
author | Brad King <brad.king@kitware.com> | 2017-10-17 12:32:44 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2017-10-17 12:32:53 (GMT) |
commit | b361990007a4d40f5a0f682455bcea89efd7eecc (patch) | |
tree | 9c79ae7a29b54fd5181893283f9d8f72bdf2ae45 /Modules | |
parent | 01c836c951f99b0a26c8b5ac4e3c0587a920e26b (diff) | |
parent | 060fd23313271df7c1c8f1c14a662edeff118a0e (diff) | |
download | CMake-b361990007a4d40f5a0f682455bcea89efd7eecc.zip CMake-b361990007a4d40f5a0f682455bcea89efd7eecc.tar.gz CMake-b361990007a4d40f5a0f682455bcea89efd7eecc.tar.bz2 |
Merge topic 'Linux-CUDA-OpenCL'
060fd233 FindOpenCL: Add support for CUDA OpenCL on Linux
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1387
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FindOpenCL.cmake | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Modules/FindOpenCL.cmake b/Modules/FindOpenCL.cmake index b8a7d82..ba87086 100644 --- a/Modules/FindOpenCL.cmake +++ b/Modules/FindOpenCL.cmake @@ -120,9 +120,12 @@ else() NAMES OpenCL PATHS ENV AMDAPPSDKROOT + ENV CUDA_PATH PATH_SUFFIXES lib/x86_64 - lib/x64) + lib/x64 + lib + lib64) endif() set(OpenCL_LIBRARIES ${OpenCL_LIBRARY}) |