diff options
author | Gustav Simonsson <gustav.simonsson@gmail.com> | 2015-03-24 11:23:54 +0800 |
---|---|---|
committer | Gustav Simonsson <gustav.simonsson@gmail.com> | 2015-03-24 22:51:51 +0800 |
commit | b0c4dc8df874442e8ad7bcd55dfa13d6ea75c0e1 (patch) | |
tree | 591bfa21aaefba999a0300f9957d91082868bba6 /Godeps/_workspace/src/github.com/ethereum/ethash/cmake/modules/FindOpenCL.cmake | |
parent | 118b79eca7500c1770db2e3fd28cfdea6370befd (diff) | |
download | go-tangerine-b0c4dc8df874442e8ad7bcd55dfa13d6ea75c0e1.tar go-tangerine-b0c4dc8df874442e8ad7bcd55dfa13d6ea75c0e1.tar.gz go-tangerine-b0c4dc8df874442e8ad7bcd55dfa13d6ea75c0e1.tar.bz2 go-tangerine-b0c4dc8df874442e8ad7bcd55dfa13d6ea75c0e1.tar.lz go-tangerine-b0c4dc8df874442e8ad7bcd55dfa13d6ea75c0e1.tar.xz go-tangerine-b0c4dc8df874442e8ad7bcd55dfa13d6ea75c0e1.tar.zst go-tangerine-b0c4dc8df874442e8ad7bcd55dfa13d6ea75c0e1.zip |
Update ethash lib
Diffstat (limited to 'Godeps/_workspace/src/github.com/ethereum/ethash/cmake/modules/FindOpenCL.cmake')
-rw-r--r-- | Godeps/_workspace/src/github.com/ethereum/ethash/cmake/modules/FindOpenCL.cmake | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/Godeps/_workspace/src/github.com/ethereum/ethash/cmake/modules/FindOpenCL.cmake b/Godeps/_workspace/src/github.com/ethereum/ethash/cmake/modules/FindOpenCL.cmake index 4d3ed842c..415c95dbd 100644 --- a/Godeps/_workspace/src/github.com/ethereum/ethash/cmake/modules/FindOpenCL.cmake +++ b/Godeps/_workspace/src/github.com/ethereum/ethash/cmake/modules/FindOpenCL.cmake @@ -118,7 +118,19 @@ if(WIN32) endif() else() find_library(OpenCL_LIBRARY - NAMES OpenCL) + NAMES OpenCL + PATHS + ENV "PROGRAMFILES(X86)" + ENV AMDAPPSDKROOT + ENV INTELOCLSDKROOT + ENV CUDA_PATH + ENV NVSDKCOMPUTE_ROOT + ENV ATISTREAMSDKROOT + PATH_SUFFIXES + "AMD APP/lib/x86_64" + lib/x86_64 + lib/x64 + OpenCL/common/lib/x64) endif() set(OpenCL_LIBRARIES ${OpenCL_LIBRARY}) |