mirror of
https://github.com/UltraCoderRU/libwebrtc.git
synced 2026-01-28 03:15:11 +00:00
Find git and depot_tools in the main file
This commit is contained in:
parent
987a23fcef
commit
470e444791
2 changed files with 9 additions and 10 deletions
|
|
@ -8,6 +8,15 @@ cmake_policy(SET CMP0057 NEW)
|
|||
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH}
|
||||
${CMAKE_SOURCE_DIR}/CMakeModules)
|
||||
|
||||
find_package(Git REQUIRED)
|
||||
find_package(DepotTools REQUIRED)
|
||||
|
||||
if (WIN32)
|
||||
set(PYTHON_EXECUTABLE ${DEPOTTOOLS_PATH}/python.bat)
|
||||
else (WIN32)
|
||||
find_package(PythonInterp REQUIRED)
|
||||
endif (WIN32)
|
||||
|
||||
include(FindLibraries)
|
||||
include(Version)
|
||||
include(Options)
|
||||
|
|
|
|||
|
|
@ -1,15 +1,5 @@
|
|||
#
|
||||
# Find required packages
|
||||
|
||||
find_package(Git REQUIRED)
|
||||
find_package(DepotTools REQUIRED)
|
||||
|
||||
if (WIN32)
|
||||
set(PYTHON_EXECUTABLE ${DEPOTTOOLS_PATH}/python.bat)
|
||||
else (WIN32)
|
||||
find_package(PythonInterp REQUIRED)
|
||||
endif (WIN32)
|
||||
|
||||
list(APPEND LIBWEBRTC_LIBRARIES webrtc)
|
||||
|
||||
if (UNIX AND NOT APPLE)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue