summaryrefslogtreecommitdiffstats
path: root/Modules/FindPythonLibs.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2005-04-07 17:46:02 (GMT)
committerBrad King <brad.king@kitware.com>2005-04-07 17:46:02 (GMT)
commit76f905002617dd534df04f1c1c0842d59f50f531 (patch)
treeddfb26a19fe535d2e17e22bd8fe8ca0c084e6b92 /Modules/FindPythonLibs.cmake
parentfadff337910f1c6faf5a2e36afe54b6ea1aee0e8 (diff)
downloadCMake-76f905002617dd534df04f1c1c0842d59f50f531.zip
CMake-76f905002617dd534df04f1c1c0842d59f50f531.tar.gz
CMake-76f905002617dd534df04f1c1c0842d59f50f531.tar.bz2
ENH: Adding support for 64-bit library paths. Contributed by Peter Vanroose.
Diffstat (limited to 'Modules/FindPythonLibs.cmake')
-rw-r--r--Modules/FindPythonLibs.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/FindPythonLibs.cmake b/Modules/FindPythonLibs.cmake
index df9b0fd..1913caf 100644
--- a/Modules/FindPythonLibs.cmake
+++ b/Modules/FindPythonLibs.cmake
@@ -40,6 +40,8 @@ FIND_LIBRARY(PYTHON_LIBRARY
python16 python1.6 python1.6.dll
python15 python1.5 python1.5.dll
PATHS
+ /usr/lib64/python2.4/config
+ /usr/lib64/python2.3/config
/usr/lib/python2.4/config
/usr/lib/python2.3/config
/usr/lib/python2.2/config
@@ -47,6 +49,7 @@ FIND_LIBRARY(PYTHON_LIBRARY
/usr/lib/python2.0/config
/usr/lib/python1.6/config
/usr/lib/python1.5/config
+ /usr/lib64
/usr/lib
/usr/local/lib
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\2.4\\InstallPath]/libs