diff options
author | Matthäus G. Chajdas <dev@anteru.net> | 2020-02-09 15:29:51 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-02-24 19:07:28 (GMT) |
commit | 9078101d75ba6a095ab1032cc18cf8a0b6fc03e6 (patch) | |
tree | c988e1e7b83ed5af499c5aca7f0bb2335a61c306 /Modules/FindOpenCL.cmake | |
parent | cb967317e4f4f91dd7840035ae1a2b2f800d3ea7 (diff) | |
download | CMake-9078101d75ba6a095ab1032cc18cf8a0b6fc03e6.zip CMake-9078101d75ba6a095ab1032cc18cf8a0b6fc03e6.tar.gz CMake-9078101d75ba6a095ab1032cc18cf8a0b6fc03e6.tar.bz2 |
FindOpenCL: Add more paths on 64-bit Linux
Add additional search paths for OpenCL on 64-bit Linux.
Fixes: #20084
Diffstat (limited to 'Modules/FindOpenCL.cmake')
-rw-r--r-- | Modules/FindOpenCL.cmake | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Modules/FindOpenCL.cmake b/Modules/FindOpenCL.cmake index 9891724..34a203e 100644 --- a/Modules/FindOpenCL.cmake +++ b/Modules/FindOpenCL.cmake @@ -78,6 +78,8 @@ find_path(OpenCL_INCLUDE_DIR ENV CUDA_PATH ENV ATISTREAMSDKROOT ENV OCL_ROOT + /usr/local/cuda + /opt/cuda PATH_SUFFIXES include OpenCL/common/inc @@ -126,6 +128,8 @@ else() PATHS ENV AMDAPPSDKROOT ENV CUDA_PATH + /usr/local/cuda + /opt/cuda PATH_SUFFIXES lib/x86 lib) @@ -135,6 +139,8 @@ else() PATHS ENV AMDAPPSDKROOT ENV CUDA_PATH + /usr/local/cuda + /opt/cuda PATH_SUFFIXES lib/x86_64 lib/x64 |