diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2017-05-08 17:17:41 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2017-05-08 17:17:41 +0200 |
commit | 36187a240a488fbc06bde997a4c7bb2a9fbf295e (patch) | |
tree | 2de6113a3e25b644ef22694961e78cebe2daba79 | |
parent | 070249ca3ee451073ca46d0f8f532f844e1a50cf (diff) | |
download | weechat-36187a240a488fbc06bde997a4c7bb2a9fbf295e.zip |
python: add detection of Python 3.6
-rw-r--r-- | ChangeLog.adoc | 1 | ||||
-rw-r--r-- | cmake/FindPython.cmake | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/ChangeLog.adoc b/ChangeLog.adoc index 4375a336e..0436a7ab3 100644 --- a/ChangeLog.adoc +++ b/ChangeLog.adoc @@ -58,6 +58,7 @@ Bug fixes:: Build:: * core: fix compilation on FreeBSD with autotools (issue #276) + * python: add detection of Python 3.6 * ruby: add detection of Ruby 2.4 (issue #895) [[v1.7.1]] diff --git a/cmake/FindPython.cmake b/cmake/FindPython.cmake index 7b0aa998c..7ef689995 100644 --- a/cmake/FindPython.cmake +++ b/cmake/FindPython.cmake @@ -35,7 +35,7 @@ endif() if(ENABLE_PYTHON3) find_program(PYTHON_EXECUTABLE - NAMES python3.5 python3.4 python3.3 python3.2 python3.1 python3.0 python3 python2.7 python2.6 python2.5 python + NAMES python3.6 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.5 python3.4 python3.3 python3.2 python3.1 python3.0 python3 python2.7 python2.6 python2.5 python + NAMES python3.6 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() |