diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2018-07-12 19:24:56 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2018-07-12 19:24:56 +0200 |
commit | 7554febf7e1e7dc2ec6b84007bdee438364f4dd2 (patch) | |
tree | df563830cd6f430ca55cc8919af9acee782c6b60 /cmake | |
parent | 426405c997c60166ee55386ef0a2a413ccff9be9 (diff) | |
download | weechat-7554febf7e1e7dc2ec6b84007bdee438364f4dd2.zip |
python: add detection of Python 3.7
Diffstat (limited to '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 e2647c48f..c8cbbb0bc 100644 --- a/cmake/FindPython.cmake +++ b/cmake/FindPython.cmake @@ -35,7 +35,7 @@ endif() if(ENABLE_PYTHON3) find_program(PYTHON_EXECUTABLE - NAMES python3.6 python3.5 python3.4 python3.3 python3.2 python3.1 python3.0 python3 python2.7 python2.6 python2.5 python + NAMES python3.7 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.6 python3.5 python3.4 python3.3 python3.2 python3.1 python3.0 python3 python2.7 python2.6 python2.5 python + NAMES python3.7 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() |