Browse Source

CMake: Explicitly require Python 2.x.

Sam Edwards 11 years ago
parent
commit
0c04655f86
1 changed files with 2 additions and 2 deletions
  1. 2 2
      dtool/Config.cmake

+ 2 - 2
dtool/Config.cmake

@@ -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