Browse Source

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.
Sam Edwards 7 years ago
parent
commit
c62f3d0d23
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dtool/Config.cmake

+ 1 - 1
dtool/Config.cmake

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