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)
参照https://www.cnblogs.com/xiaojianliu/p/9314202.html
被坑了好久,如果环境是cuda8.0不会有问题,或者新版本的opencv如4.0 也不会有问题