mirror of
https://github.com/UltraCoderRU/libwebrtc.git
synced 2026-01-28 11:15:13 +00:00
Use depot_tools' Python executable under Windows
This commit is contained in:
parent
1f20b932cf
commit
34afab9454
1 changed files with 6 additions and 1 deletions
|
|
@ -3,7 +3,12 @@
|
||||||
|
|
||||||
find_package(Git REQUIRED)
|
find_package(Git REQUIRED)
|
||||||
find_package(DepotTools REQUIRED)
|
find_package(DepotTools REQUIRED)
|
||||||
find_package(PythonInterp REQUIRED)
|
|
||||||
|
if (WIN32)
|
||||||
|
set(PYTHON_EXECUTABLE ${DEPOTTOOLS_PATH}/python.bat)
|
||||||
|
else (WIN32)
|
||||||
|
find_package(PythonInterp REQUIRED)
|
||||||
|
endif (WIN32)
|
||||||
|
|
||||||
list(APPEND LIBWEBRTC_LIBRARIES webrtc)
|
list(APPEND LIBWEBRTC_LIBRARIES webrtc)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue