Skip to content

Commit

Permalink
Merge pull request #48 from sschaetz/develop
Browse files Browse the repository at this point in the history
fixed FindOpenCL.cmake file to find OpenCL on Ubuntu 14.04 with CUDA 6.0
  • Loading branch information
Kent Knox committed Jan 30, 2015
2 parents b60d668 + 121fefb commit d6dcb18
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/FindOpenCL.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ find_path(OPENCL_INCLUDE_DIRS
PATHS
/usr/include
/usr/local/include
/usr/local/cuda/include
/opt/cuda/include
DOC "OpenCL header file path"
)
mark_as_advanced( OPENCL_INCLUDE_DIRS )
Expand All @@ -70,6 +72,8 @@ if( LIB64 )
${OPENCL_ROOT}/lib
$ENV{AMDAPPSDKROOT}/lib
$ENV{CUDA_PATH}/lib
/usr/local/cuda/lib
/opt/cuda/lib
DOC "OpenCL dynamic library path"
PATH_SUFFIXES x86_64 x64
PATHS
Expand All @@ -82,6 +86,8 @@ else( )
${OPENCL_ROOT}/lib
$ENV{AMDAPPSDKROOT}/lib
$ENV{CUDA_PATH}/lib
/usr/local/cuda/lib
/opt/cuda/lib
DOC "OpenCL dynamic library path"
PATH_SUFFIXES x86 Win32
PATHS
Expand Down

0 comments on commit d6dcb18

Please sign in to comment.