I recently noticed a couple articles on building OpenCV using a Conda environment, including this one by Zhanwen Chen on Medium.com:
https://medium.com/repro-repo/install-opencv-4-0-1-from-source-on-macos-with-anaconda-python-3-7-to-use-sift-and-surf-9d4287d6228b
The idea is that instead of referencing the conventional Anaconda folders via OpenCV Cmake-Gui, you'd create an environment via "conda create ...', and reference the resulting environment folders that are created in Anaconda's 'envs' directory.
That particular article is based on Mac, but one would think that it applies to Linux and Windows as well.
Has anyone tried this? It hadn't occurred to me that it would work, but perhaps there are some advantages.