Hi,
Here you will find the latest stable documentation for installing opencv. There are several options to install it. Either by CMake or by sources, as you wish
https://docs.opencv.org/4.5.2/d3/d52/tutorial_windows_install.html
EDIT : If you choose to build with CMake GUI, you have a checklist with the options you used in the command line on Linux.
