summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-10-17 12:32:44 (GMT)
committerKitware Robot <kwrobot@kitware.com>2017-10-17 12:32:53 (GMT)
commitb361990007a4d40f5a0f682455bcea89efd7eecc (patch)
tree9c79ae7a29b54fd5181893283f9d8f72bdf2ae45 /Modules
parent01c836c951f99b0a26c8b5ac4e3c0587a920e26b (diff)
parent060fd23313271df7c1c8f1c14a662edeff118a0e (diff)
downloadCMake-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.cmake5
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})