Itseez/opencv — pull request #1362 by alalek (2013-08-28 15:40:12+00:00)
Title: CMake: fix OpenCVDetectOpenCL.cmake

CMake script can't find libOpenCL.so under AMD APP SDK installation directory, because AMD APP SDK doesn't write it here, it uses system-wide /usr/lib64/libOpenCL.so. This fix allows to find library with system-wide paths if basic approach was failed.

Also this fix allows to override library location via environment variables.