mirror of
https://github.com/UltraCoderRU/libwebrtc.git
synced 2026-01-28 11:15:13 +00:00
Force 2.7 version for Python, look for it inside the detected depot_tools path
This commit is contained in:
parent
29b4333904
commit
bb1b53a49e
1 changed files with 2 additions and 2 deletions
|
|
@ -15,9 +15,9 @@ find_package(Git REQUIRED)
|
||||||
find_package(DepotTools REQUIRED)
|
find_package(DepotTools REQUIRED)
|
||||||
|
|
||||||
if (WIN32)
|
if (WIN32)
|
||||||
set(PYTHON_EXECUTABLE ${CMAKE_SOURCE_DIR}/depot_tools/python.bat)
|
set(PYTHON_EXECUTABLE ${DEPOTTOOLS_PATH}/python.bat)
|
||||||
else (WIN32)
|
else (WIN32)
|
||||||
find_package(PythonInterp REQUIRED)
|
find_package(PythonInterp 2.7 REQUIRED)
|
||||||
endif (WIN32)
|
endif (WIN32)
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue