FindOpenCL.cmake doesn't seem to find OpenCL on CentOS 8
I'm using
find_package(OpenCL)
in a CMakeLists.txt
file, which I'm running on CentOS 8, plus the official CUDA repository for CentOS / RHEL 8 (This one); the version of CMake is 3.11.4.
Well, this fails to find OpenCL; it finds the include directory, but not the library for some reason. I tried downloading the master-branch FindOpenCL.cmake
and using that one instead - with the same results.