This repository is a wrapper of official WebRTC repository made to be built from source using CMake.
- MAC
- POSIX
- (probably) Windows
- Clone
https://github.com/dmllr/webrtc.git
repository or add it as submodule - In your CMakeLists.txt add
add_subdirectory("<path to folder contains this file>")
target_include_directories(your_shiny_target
PRIVATE
${webrtc_source_path}
)
target_link_libraries(your_shiny_target
webrtc
)
- Using
cmake/import_remote.cmake
from this repository do
include(import_remote.cmake)
import_remote("https://github.com/dmllr/webrtc.git" TAG "master" ALIAS webrtc)
target_include_directories(your_shiny_target
PRIVATE
${webrtc_source_path}
)
target_link_libraries(your_shiny_target
webrtc
)