Here is the error I am getting when I am installing opencv on ubuntu 20.04 with cuda 10.1.
-- Detected processor: x86_64 CMake Warning at cmake/OpenCVUtils.cmake: