mirror of
https://github.com/weechat/weechat.git
synced 2026-07-01 07:16:37 +02:00
Add support of python 2.7 in cmake and configure (debian #606989)
This commit is contained in:
@@ -34,7 +34,7 @@ IF(PYTHON_FOUND)
|
||||
ENDIF(PYTHON_FOUND)
|
||||
|
||||
FIND_PROGRAM(PYTHON_EXECUTABLE
|
||||
NAMES python python2.6 python2.5 python2.4 python2.3 python2.2
|
||||
NAMES python python2.7 python2.6 python2.5 python2.4 python2.3 python2.2
|
||||
PATHS /usr/bin /usr/local/bin /usr/pkg/bin
|
||||
)
|
||||
|
||||
@@ -65,7 +65,7 @@ IF(PYTHON_EXECUTABLE)
|
||||
)
|
||||
|
||||
FIND_LIBRARY(PYTHON_LIBRARY
|
||||
NAMES python python2.6 python2.5 python2.4 python2.3 python2.2
|
||||
NAMES python python2.7 python2.6 python2.5 python2.4 python2.3 python2.2
|
||||
PATHS ${PYTHON_POSSIBLE_LIB_PATH}
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user