Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CMake: Don't look for OpenCL and CUDA packages if build isn't using them
Fixes: If -DBUILD_CUDA=OFF or -DBUILD_OPENCL=OFF is specified, irrelevant warnings are output if these packages aren't available, even though they won't be used.
- Loading branch information