diff options
Diffstat (limited to 'Modules/FindPythonLibs.cmake')
-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 |