Cmake - Compile problem for "Cuda" libraries

I have developed a program using opencv 3.0 with Visual studio 2013 and nowadays I would like to convert it to Gpu based applications with Cuda.

So, I tried to compile Cmake with Cuda support.But unfortunately it does not accept specified file for Cuda.I have checke the cuda file and libraries which is available in opencv.They are all available in " C:/opencv1/opencv/sources/modules/" direction but Cmake does not see it.

Here is the error:

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 C:/opencv1/opencv/sources/modules/hal
linked by target “opencv_cudev” in directory C:/opencv1/opencv/sources/modules/cudev
linked by target “opencv_test_cudev” in directory C:/opencv1/opencv/sources/modules/cudev/test
linked by target “opencv_core” in directory C:/opencv1/opencv/sources/modules/core
linked by target “opencv_perf_core” in directory C:/opencv1/opencv/sources/modules/core
linked by target “opencv_test_core” in directory C:/opencv1/opencv/sources/modules/core
linked by target “opencv_cudaarithm” in directory C:/opencv1/opencv/sources/modules/cudaarithm
linked by target “opencv_cudaarithm” in directory C:/opencv1/opencv/sources/modules/cudaarithm
linked by target “opencv_test_cudaarithm” in directory C:/opencv1/opencv/sources/modules/cudaarithm
linked by target “opencv_perf_cudaarithm” in directory C:/opencv1/opencv/sources/modules/cudaarithm
linked by target “opencv_flann” in directory C:/opencv1/opencv/sources/modules/flann
linked by target “opencv_test_flann” in directory C:/opencv1/opencv/sources/modules/flann
linked by target “opencv_imgproc” in directory C:/opencv1/opencv/sources/modules/imgproc
linked by target “opencv_perf_imgproc” in directory C:/opencv1/opencv/sources/modules/imgproc
linked by target “opencv_test_imgproc” in directory C:/opencv1/opencv/sources/modules/imgproc
linked by target “opencv_ml” in directory C:/opencv1/opencv/sources/modules/ml
linked by target “opencv_test_ml” in directory C:/opencv1/opencv/sources/modules/ml
linked by target “opencv_video” in directory C:/opencv1/opencv/sources/modules/video
linked by target “opencv_perf_video” in directory C:/opencv1/opencv/sources/modules/video
linked by target “opencv_test_video” in directory C:/opencv1/opencv/sources/modules/video

All cuda files are available in “C:/opencv1/opencv/sources/modules/” direction.

Any help will be appreciated.

It doesn’t look like you have installed CUDA. If you want to use CMake with CUDA, you will need to install CUDA.

Most likely the files in C:/opencv1/opencv/sources/modules are not the files associated with a CUDA installation.

I have already installed it,

Here is the cmake information for evidence;

Other third-party libraries:
Use IPP: 9.0.1 [9.0.1]
at: C:/opencv1/opencv/build/3rdparty/ippicv/ippicv_win
Use IPP Async: NO
Use Lapack: NO
Use Eigen: NO
Use Cuda: YES (ver 9.0)
Use OpenCL: YES
Use OpenVX: NO
Use custom HAL: NO