mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-18 04:33:04 -04:00
CMake: Explicitly require Python 2.x.
This commit is contained in:
parent
3969d0e1ac
commit
0c04655f86
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user