diff options
author | Sebastien Barre <sebastien.barre@kitware.com> | 2001-05-11 17:58:35 (GMT) |
---|---|---|
committer | Sebastien Barre <sebastien.barre@kitware.com> | 2001-05-11 17:58:35 (GMT) |
commit | 1a2af3f58318d6cf76260493e9db2f0df9d17ba7 (patch) | |
tree | 50882040a0e68bae766f65fd0753797fd55dc3ae /Modules | |
parent | 78232180f4d2e0bbaeba42ec6c0ebbd471b8c1c0 (diff) | |
download | CMake-1a2af3f58318d6cf76260493e9db2f0df9d17ba7.zip CMake-1a2af3f58318d6cf76260493e9db2f0df9d17ba7.tar.gz CMake-1a2af3f58318d6cf76260493e9db2f0df9d17ba7.tar.bz2 |
NAMES syntax
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FindPythonLibs.cmake | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Modules/FindPythonLibs.cmake b/Modules/FindPythonLibs.cmake index 13cbea5..08ae89b 100644 --- a/Modules/FindPythonLibs.cmake +++ b/Modules/FindPythonLibs.cmake @@ -8,7 +8,8 @@ # PYTHON_DEBUG_LIBRARY = the full path to the debug library found # -FIND_LIBRARY(PYTHON_DEBUG_LIBRARY python python21_d python20_d +FIND_LIBRARY(PYTHON_DEBUG_LIBRARY + NAMES python python21_d python20_d PATHS /usr/lib /usr/local/lib @@ -16,7 +17,8 @@ FIND_LIBRARY(PYTHON_DEBUG_LIBRARY python python21_d python20_d [HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.0\InstallPath]/libs/Debug ) -FIND_LIBRARY(PYTHON_LIBRARY python python21 python20 +FIND_LIBRARY(PYTHON_LIBRARY + NAMES python python21 python20 PATHS /usr/lib /usr/local/lib |