"linker command fail" in MacOS 12.5

note, that this is not supported by default (not recommended !)
it needs a special cmake flag (OPENCV_GENERATE_PKGCONFIG=ON) to generate that info during install