update include/lib path to Python (Linux)

This commit is contained in:
Sebastien Barre 2001-07-15 21:10:10 -04:00
parent ae25b63b6a
commit d823632c8b
1 changed files with 5 additions and 1 deletions

View File

@ -18,9 +18,11 @@ FIND_LIBRARY(PYTHON_DEBUG_LIBRARY
) )
FIND_LIBRARY(PYTHON_LIBRARY FIND_LIBRARY(PYTHON_LIBRARY
NAMES python python21 python20 NAMES python python21 python2.1 python20 python2.0
PATHS PATHS
/usr/lib /usr/lib
/usr/lib/python2.1/config
/usr/lib/python2.0/config
/usr/local/lib /usr/local/lib
[HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.1\InstallPath]/libs [HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.1\InstallPath]/libs
[HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.0\InstallPath]/libs [HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.0\InstallPath]/libs
@ -28,6 +30,8 @@ FIND_LIBRARY(PYTHON_LIBRARY
FIND_PATH(PYTHON_INCLUDE_PATH Python.h FIND_PATH(PYTHON_INCLUDE_PATH Python.h
/usr/include /usr/include
/usr/include/python2.1
/usr/include/python2.0
/usr/local/include /usr/local/include
[HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.1\InstallPath]/include [HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.1\InstallPath]/include
[HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.0\InstallPath]/include [HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.0\InstallPath]/include