Ver código fonte

Fixed bug 8319, search for the Python shared library in the standard locations.

Marcus Hanwell 16 anos atrás
pai
commit
180a681b53
1 arquivos alterados com 0 adições e 2 exclusões
  1. 0 2
      Modules/FindPythonLibs.cmake

+ 0 - 2
Modules/FindPythonLibs.cmake

@@ -41,8 +41,6 @@ FOREACH(_CURRENT_VERSION 2.6 2.5 2.4 2.3 2.2 2.1 2.0 1.6 1.5)
     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
   )