diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2012-07-17 14:07:03 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2012-07-17 14:07:03 +0200 |
commit | 24a06f0e08a4eb9e29e12297cecd39d17d4e9a58 (patch) | |
tree | 8bc4eda2da537c18314d774eeb4829ac9c6c291c /cmake/FindPython.cmake | |
parent | 7caa481b2404bc2b00a181f45cc0b26d3e3292d5 (diff) | |
download | weechat-24a06f0e08a4eb9e29e12297cecd39d17d4e9a58.zip |
python: fix detection of python (first try "python2.x" and then "python") (bug #36835)
Diffstat (limited to 'cmake/FindPython.cmake')
-rw-r--r-- | cmake/FindPython.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/FindPython.cmake b/cmake/FindPython.cmake index d1481e7b9..884c492c6 100644 --- a/cmake/FindPython.cmake +++ b/cmake/FindPython.cmake @@ -34,7 +34,7 @@ IF(PYTHON_FOUND) ENDIF(PYTHON_FOUND) FIND_PROGRAM(PYTHON_EXECUTABLE - NAMES python python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 + NAMES python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python PATHS /usr/bin /usr/local/bin /usr/pkg/bin ) @@ -65,7 +65,7 @@ IF(PYTHON_EXECUTABLE) ) FIND_LIBRARY(PYTHON_LIBRARY - NAMES python python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 + NAMES python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python PATHS ${PYTHON_POSSIBLE_LIB_PATH} ) |