Use depot_tools' Python executable under Windows

This commit is contained in:
Axel Isouard 2017-02-12 00:20:39 -08:00
parent 1f20b932cf
commit 34afab9454

View file

@ -3,7 +3,12 @@
find_package(Git REQUIRED) find_package(Git REQUIRED)
find_package(DepotTools REQUIRED) find_package(DepotTools REQUIRED)
if (WIN32)
set(PYTHON_EXECUTABLE ${DEPOTTOOLS_PATH}/python.bat)
else (WIN32)
find_package(PythonInterp REQUIRED) find_package(PythonInterp REQUIRED)
endif (WIN32)
list(APPEND LIBWEBRTC_LIBRARIES webrtc) list(APPEND LIBWEBRTC_LIBRARIES webrtc)