mirror of
https://github.com/opencv/opencv.git
synced 2024-12-12 15:19:11 +08:00
913c4151bf
* 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
7 lines
148 B
CMake
7 lines
148 B
CMake
set(MIN_VER_CMAKE 2.8.12.2)
|
|
set(MIN_VER_CUDA 6.5)
|
|
set(MIN_VER_PYTHON2 2.7)
|
|
set(MIN_VER_PYTHON3 3.2)
|
|
set(MIN_VER_ZLIB 1.2.3)
|
|
set(MIN_VER_GTK 2.18.0)
|