mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
CMake: Don't set a default Python version.
A blank string to FindPythonInterp finds the version of Python that the system "python" interpreter invokes, so this means the default is now the system default.
This commit is contained in:
parent
94937dd432
commit
c62f3d0d23
@ -418,7 +418,7 @@ mark_as_advanced(ANDROID_NDK_HOME ANDROID_ABI ANDROID_STL
|
||||
#
|
||||
|
||||
# Is Python installed, and should Python interfaces be generated?
|
||||
set(WANT_PYTHON_VERSION "2.7"
|
||||
set(WANT_PYTHON_VERSION ""
|
||||
CACHE STRING "Which Python version to seek out for building Panda3D against.")
|
||||
|
||||
find_package(PythonInterp ${WANT_PYTHON_VERSION} QUIET)
|
||||
|
Loading…
x
Reference in New Issue
Block a user