title: CMake: CUDA libraries not found when compiling OpenCV
body: <p>I am compiling OpenCV 3.0.0 with CUDA support on Windows, using CMAKE. When I click "configure", errors occur as following:</p>
  
  <pre><code>CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
  Please set them or make sure they are set and tested correctly in the CMake files:
  CUDA_cufft_LIBRARY (ADVANCED)
      linked by target "opencv_hal" in directory E:/dev-lib/opencv3/sources/modules/hal
      ...
  CUDA_nppc_LIBRARY (ADVANCED)
      ...
  CUDA_nppi_LIBRARY (ADVANCED)
      ...
  CUDA_npps_LIBRARY (ADVANCED)
  </code></pre>
  
  <p>I have checked "WITH_CUDA" and "WITH_CUFFT" in entries. If I check "WITH_CUBLAS" as well, the outputs above will add one more <code>CUDA_cublas_LIBRARY</code> error.</p>
  
  <p>But before all these error messages it shows that</p>
  
  <pre><code>CUDA detected: 7.5
  CUDA NVCC target flags: -gencode;arch=compute_20,code=sm_20;-gencode;arch=compute_20,code=sm_21;-gencode;arch=compute_30,code=sm_30;-gencode;arch=compute_35,code=sm_35;-gencode;arch=compute_30,code=compute_30
  </code></pre>
  
  <p>which indicates CUDA can be detected by CMAKE. However, those 4 libraries needed cannot be found.</p>
  
  <p>I have installed CUDA 7.5 and compiled it with Visual Studio 2012 before. The CUDA samples run perfectly. So my CUDA libraries should be installed properly.</p>
  
  <p>I wonder even if I have to set these values manually, how should I do it?</p>
  
  <p>My specs: Windows 7 x64, Visual Studio 2012, CMAKE 3.4.0, CUDA Toolkit 7.5</p>