fix nonfree module compilation without CUDA(cherry picked from commit 3e1f74f2)
Attach a file by drag & drop or click to upload