How do I properly build OpenCV 4.3 with CUDA 10.1 support ?

This is a CMake discourse instance. Your question is OpenCV-specific, so I suggest asking somewhere OpenCV developers are likely to see it. Raising the issue on their issue tracker is likely to get a better response.