I'm trying to build a statically linked library, with cmake, to run on a system without CUDA support. The system I'm building it on has CUDA, and OpenCV supports CUDA.
Do I need to link against OpenCV re-compiled without CUDA support, or is there another way?