diff options
Diffstat (limited to 'dev-util/cmake/files/cmake-FindPythonLibs.patch')
-rw-r--r-- | dev-util/cmake/files/cmake-FindPythonLibs.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-util/cmake/files/cmake-FindPythonLibs.patch b/dev-util/cmake/files/cmake-FindPythonLibs.patch new file mode 100644 index 000000000000..f473cffd9d18 --- /dev/null +++ b/dev-util/cmake/files/cmake-FindPythonLibs.patch @@ -0,0 +1,13 @@ +--- Modules/FindPythonLibs.cmake 2008-05-08 11:18:22.000000000 -0400 ++++ Modules/FindPythonLibs.cmake 2008-05-08 11:18:40.000000000 -0400 +@@ -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) |