Преглед изворни кода

Merge topic 'different-python-header-libs-exe-0013794'

bf28ff1f FindPythonLibs: Do not try to find the interpreter (#13794)
Brad King пре 11 година
родитељ
комит
2977330a7b
1 измењених фајлова са 0 додато и 1 уклоњено
  1. 0 1
      Modules/FindPythonLibs.cmake

+ 0 - 1
Modules/FindPythonLibs.cmake

@@ -83,7 +83,6 @@ endif()
 # If FindPythonInterp has already found the major and minor version,
 # insert that version between the user supplied versions and the stock
 # version list.
-find_package(PythonInterp QUIET)
 set(_Python_VERSIONS ${Python_ADDITIONAL_VERSIONS})
 if(DEFINED PYTHON_VERSION_MAJOR AND DEFINED PYTHON_VERSION_MINOR)
   list(APPEND _Python_VERSIONS ${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR})