diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2016-06-21 19:39:20 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2016-06-21 19:39:20 +0200 |
commit | aec9e2ebcac993211dc6333144dbb42425aa2074 (patch) | |
tree | 66249d1522cc44b1be7be854a847606e63409118 /cmake/FindPython.cmake | |
parent | 1989285462537882e9aca3e06950e28576889147 (diff) | |
download | weechat-aec9e2ebcac993211dc6333144dbb42425aa2074.zip |
python: add detection of Python 3.5
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 77d0fcb8d..70db1c57f 100644 --- a/cmake/FindPython.cmake +++ b/cmake/FindPython.cmake @@ -35,7 +35,7 @@ endif() if(ENABLE_PYTHON3) find_program(PYTHON_EXECUTABLE - NAMES python3.4 python3.3 python3.2 python3.1 python3.0 python3 python2.7 python2.6 python2.5 python + NAMES python3.5 python3.4 python3.3 python3.2 python3.1 python3.0 python3 python2.7 python2.6 python2.5 python PATHS /usr/bin /usr/local/bin /usr/pkg/bin ) else() @@ -67,7 +67,7 @@ if(PYTHON_EXECUTABLE) ) if(ENABLE_PYTHON3) find_library(PYTHON_LIBRARY - NAMES python3.4 python3.3 python3.2 python3.1 python3.0 python3 python2.7 python2.6 python2.5 python + NAMES python3.5 python3.4 python3.3 python3.2 python3.1 python3.0 python3 python2.7 python2.6 python2.5 python HINTS ${PYTHON_POSSIBLE_LIB_PATH} ) else() |