viennacl / viennacl-dev

Developer repository for ViennaCL. Visit http://viennacl.sourceforge.net/ for the latest releases.
Other
281 stars 89 forks source link

Fix FindOpenCL.cmake which doesn't find the OpenCL SDK on Windows #262

Closed IncinX closed 6 years ago

IncinX commented 6 years ago

Fix for in issue in FindOpenCL.cmake detailed here

The problem is that OPENCL_LIB_SEARCH_PATH has never been assigned to previously and evaluates to an empty string. find_library doesn't take too kindly to this and cannot find the OpenCL library on Windows.

karlrupp commented 6 years ago

Thanks, @IncinX , for the pull request. Please apologize the delay in merging the PR.