summaryrefslogtreecommitdiffstats
path: root/Modules/FindOpenCL.cmake
diff options
context:
space:
mode:
authorHarry Mallon <hjmallon@gmail.com>2017-12-06 14:31:52 (GMT)
committerHarry Mallon <hjmallon@gmail.com>2017-12-06 15:03:34 (GMT)
commitf313541adb677f754953d1598d3e8b234ad975b2 (patch)
treeb2d630b5a9e8e8af7d8bada1c5c87ae0fcc10398 /Modules/FindOpenCL.cmake
parent92910e282adedff8c2dba488db84fb917318bb5b (diff)
downloadCMake-f313541adb677f754953d1598d3e8b234ad975b2.zip
CMake-f313541adb677f754953d1598d3e8b234ad975b2.tar.gz
CMake-f313541adb677f754953d1598d3e8b234ad975b2.tar.bz2
FindOpenCL: Add support for AMD OpenCL SDK Light
Diffstat (limited to 'Modules/FindOpenCL.cmake')
-rw-r--r--Modules/FindOpenCL.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/FindOpenCL.cmake b/Modules/FindOpenCL.cmake
index 5d79110..297a5fb 100644
--- a/Modules/FindOpenCL.cmake
+++ b/Modules/FindOpenCL.cmake
@@ -76,6 +76,7 @@ find_path(OpenCL_INCLUDE_DIR
ENV NVSDKCOMPUTE_ROOT
ENV CUDA_PATH
ENV ATISTREAMSDKROOT
+ ENV OCL_ROOT
PATH_SUFFIXES
include
OpenCL/common/inc
@@ -94,6 +95,7 @@ if(WIN32)
ENV CUDA_PATH
ENV NVSDKCOMPUTE_ROOT
ENV ATISTREAMSDKROOT
+ ENV OCL_ROOT
PATH_SUFFIXES
"AMD APP/lib/x86"
lib/x86
@@ -109,6 +111,7 @@ if(WIN32)
ENV CUDA_PATH
ENV NVSDKCOMPUTE_ROOT
ENV ATISTREAMSDKROOT
+ ENV OCL_ROOT
PATH_SUFFIXES
"AMD APP/lib/x86_64"
lib/x86_64