• Alexander Alekhin's avatar
    Merge pull request #12725 from alalek:cmake_python_win32 · 913c4151
    Alexander Alekhin authored
    * cmake: don't ignore Python from PATH environment variable
    
    - this breaks selection between 32/64-bit Python
    - this breaks Anaconda/Conda environments
    - it is not the CMake default behavior, expected by many projects
    
    * cmake: add Python version check, fallback path on CMake 3.12+
    
    * cmake: drop Python 2.6, allow version selection for Python 3.x
    913c4151
OpenCVMinDepVersions.cmake 148 Bytes