CMake: Explicitly require Python 2.x.

This commit is contained in:
Sam Edwards 2014-03-02 18:33:47 -07:00
parent 3969d0e1ac
commit 0c04655f86

View File

@ -429,8 +429,8 @@ platforms. Currently experimental." ON)
# Is Python installed, and should Python interfaces be generated?
find_package(PythonLibs)
find_package(PythonInterp)
find_package(PythonLibs 2.5)
find_package(PythonInterp 2.5)
set(PYTHON_FOUND ${PYTHONLIBS_FOUND})
package_option(PYTHON DEFAULT ON