CMake for OpenCL C++ linux


I was looking for a way to write a cmake file for an OpenCL c++ project. The issue is I have both Intel OpenCL SDK and NVIDIA CUDA OpenCL SDK installed on my machine. And when I run the cmake file as given in the article -Article link

It finds the Cuda OpenCL SDK and not the Intel OpenCL sdk. Is there a way to force it to find the Intel OpenCL SDK?