How to build *only* one module of OpenCV

Due to MediaPipe including -some- of OpenCV statically, I only need Calib3d module.

How can I build a framework with only that module

I tried doing selective —withouts to no avail.