summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Blezek <blezek@crd.ge.com>2001-12-11 19:09:51 (GMT)
committerDan Blezek <blezek@crd.ge.com>2001-12-11 19:09:51 (GMT)
commite0aee2e9887521bd51faa03f038408e07e6b6530 (patch)
tree4960345cc9ef0371251275fd27ef05b06fb75c5a
parent03e7b6a67a056e377a67948100296ad936c7abcb (diff)
downloadCMake-e0aee2e9887521bd51faa03f038408e07e6b6530.zip
CMake-e0aee2e9887521bd51faa03f038408e07e6b6530.tar.gz
CMake-e0aee2e9887521bd51faa03f038408e07e6b6530.tar.bz2
ENH: Adding /usr/*/python1.5 for RedHat 7.1/Python 1.5 users
-rw-r--r--Modules/FindPythonLibs.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/FindPythonLibs.cmake b/Modules/FindPythonLibs.cmake
index 496f53f..aee3ad8 100644
--- a/Modules/FindPythonLibs.cmake
+++ b/Modules/FindPythonLibs.cmake
@@ -23,6 +23,7 @@ FIND_LIBRARY(PYTHON_LIBRARY
NAMES python python21 python2.1 python20 python2.0
PATHS
/usr/lib
+ /usr/lib/python1.5/config
/usr/lib/python2.1/config
/usr/lib/python2.0/config
/usr/local/lib
@@ -32,6 +33,7 @@ FIND_LIBRARY(PYTHON_LIBRARY
FIND_PATH(PYTHON_INCLUDE_PATH Python.h
/usr/include
+ /usr/include/python1.5
/usr/include/python2.1
/usr/include/python2.0
/usr/local/include