FindPython3 prioritizes finding newer versions over Python3_ROOT_DIR hint
I use conda environments and other conda tools as part of my development process, and there's often a case where multiple minor versions of Python3 will be installed on the system and part of the paths able to be found by CMake. There are situations specifically where the base environment will be Python 3.7 and the build environment will be Python 3.6. By setting Python3_ROOT_DIR
I expected to be able to point to my build environment and have it find Python 3.6 installation, but instead it finds the Python 3.7 installation in the base environment.
I see there's some virtual environment related changes coming down the pipes which may help to alleviate this issue as well, but I believe the Python3_ROOT_DIR
hint should be priority over finding a newer minor version.