Jetpack 4.6 unable to compile OpenCV 4.1.1,4.2.0, 4.4.0 with CUDA and cuDNN enabled and other bits

That’s interesting. Does removing the line entirely work? IIRC I added that on the advice of @Honey_Patouceul because the version was not automatically detected. That may be fixed now. If it is, it can probably just be removed.