summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-02-25 14:02:08 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-02-25 14:02:15 (GMT)
commitc66dccb6a36953bcae43ff2a20a6ca712a948c0f (patch)
tree054a7ab93a8983c68c825feecfe0b05757f9708f
parentd3d72b55f509eaf9889703b6968458f6f8cd21ac (diff)
parent9078101d75ba6a095ab1032cc18cf8a0b6fc03e6 (diff)
downloadCMake-c66dccb6a36953bcae43ff2a20a6ca712a948c0f.zip
CMake-c66dccb6a36953bcae43ff2a20a6ca712a948c0f.tar.gz
CMake-c66dccb6a36953bcae43ff2a20a6ca712a948c0f.tar.bz2
Merge topic 'FindOpenCL-cuda-paths'
9078101d75 FindOpenCL: Add more paths on 64-bit Linux Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4336
-rw-r--r--Modules/FindOpenCL.cmake6
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