mirror of
https://github.com/libgit2/libgit2.git
synced 2026-06-22 06:26:26 +00:00
Make FIND_PACKAGE(PythonInterp) prefer python3
This change makes it possible to prefer a python (version 3) interpreter on systems where python2 and python3 coexist (where python2 is found as `/usr/bin/python`).
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
SET(Python_ADDITIONAL_VERSIONS 3 2.7)
|
||||
FIND_PACKAGE(PythonInterp)
|
||||
|
||||
IF(NOT PYTHONINTERP_FOUND)
|
||||
|
||||
Reference in New Issue
Block a user