summaryrefslogtreecommitdiff
path: root/dev-util/cmake/files/cmake-FindPythonLibs.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/cmake/files/cmake-FindPythonLibs.patch')
-rw-r--r--dev-util/cmake/files/cmake-FindPythonLibs.patch22
1 files changed, 0 insertions, 22 deletions
diff --git a/dev-util/cmake/files/cmake-FindPythonLibs.patch b/dev-util/cmake/files/cmake-FindPythonLibs.patch
deleted file mode 100644
index 7981140296d..00000000000
--- a/dev-util/cmake/files/cmake-FindPythonLibs.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- Modules/FindPythonLibs.cmake
-+++ Modules/FindPythonLibs.cmake
-@@ -13,7 +13,7 @@
- # Search for the python framework on Apple.
- CMAKE_FIND_FRAMEWORKS(Python)
-
--FOREACH(_CURRENT_VERSION 2.6 2.5 2.4 2.3 2.2 2.1 2.0 1.6 1.5)
-+FOREACH(_CURRENT_VERSION 2.7 2.6 2.5 2.4 2.3 2.2 2.1 2.0 1.6 1.5)
- STRING(REPLACE "." "" _CURRENT_VERSION_NO_DOTS ${_CURRENT_VERSION})
- IF(WIN32)
- FIND_LIBRARY(PYTHON_DEBUG_LIBRARY
-@@ -27,10 +27,6 @@
- NAMES python${_CURRENT_VERSION_NO_DOTS} python${_CURRENT_VERSION}
- PATHS
- [HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\${_CURRENT_VERSION}\\InstallPath]/libs
-- PATH_SUFFIXES
-- python${_CURRENT_VERSION}/config
-- # Avoid finding the .dll in the PATH. We want the .lib.
-- NO_SYSTEM_ENVIRONMENT_PATH
- )
-
- SET(PYTHON_FRAMEWORK_INCLUDES)