I'm sorry that I can't answer to your question exactly because I don't have Nvidia GPU.
But try this: https://stackoverflow.com/questions/19980412/how-to-let-cmake-find-cuda
You may need to replace some path(s) to your own one.
And make sure cuda driver and web driver installed.
You are viewing a single comment's thread from:
you have to install CUDA toolkit https://developer.nvidia.com/cuda-toolkit