summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-03-06 16:32:58 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2014-03-06 16:32:58 (GMT)
commit2977330a7b27d21e2b6276d9386624b6811b9274 (patch)
treec46294e80397fdd44b42cb9ffe0ddb1bc197c1eb /Modules
parent7c9041bdab8c3af5b96384538de00b96599eead9 (diff)
parentbf28ff1f422407f10ecc283f03ce8c5ee57f1812 (diff)
downloadCMake-2977330a7b27d21e2b6276d9386624b6811b9274.zip
CMake-2977330a7b27d21e2b6276d9386624b6811b9274.tar.gz
CMake-2977330a7b27d21e2b6276d9386624b6811b9274.tar.bz2
Merge topic 'different-python-header-libs-exe-0013794'
bf28ff1f FindPythonLibs: Do not try to find the interpreter (#13794)
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindPythonLibs.cmake1
1 files changed, 0 insertions, 1 deletions
diff --git a/Modules/FindPythonLibs.cmake b/Modules/FindPythonLibs.cmake
index 27d9e45..656ed7b 100644
--- a/Modules/FindPythonLibs.cmake
+++ b/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})