Erro CMake: as variáveis estão definidas como NOTFOUND

Eu instalei o cuda primeiro usandocuda-repo-ubuntu1604-9-0-local_9.0.176-1_amd64.deb. Agora estou tentando instalarOpenCV 3.3.0 Mas estou recebendo o erro CMake:

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_nppi_LIBRARY (ADVANCED)

E então uma lista muito longa de destinos como este:

linked by target "opencv_cudev" in directory /home/jjros/opencv-3.3.0/modules/cudev

Estou usando este comando para compilar a biblioteca:

cmake 

-D CMAKE_C_COMPILER=/usr/bin/gcc-5 \ 
-D CMAKE_BUILD_TYPE=RELEASE \   
-D CMAKE_INSTALL_PREFIX=/usr/local \     
-D WITH_CUDA=ON \     
-D WITH_CUBLAS=ON \     
-D WITH_TBB=ON \    
-D WITH_V4L=ON \    
-D WITH_QT=ON \     
-D WITH_OPENGL=ON \    
-D ENABLE_FAST_MATH=1 \        
-D CUDA_FAST_MATH=1 \        
-D WITH_CUBLAS=1 \        
-D INSTALL_C_EXAMPLES=OFF \    
-D INSTALL_PYTHON_EXAMPLES=ON \        
-D BUILD_SHARED_LIBS=ON \        
-D WITH_GTK=ON \        
-D BUILD_EXAMPLES=ON \     
-D  CUDA_NVCC_FLAGS="-D_FORCE_INLINES" .. 

Como posso definir minhas CMakeLists? O que está acontecendo de errado?

questionAnswers(7)

yourAnswerToTheQuestion