Use tg_owt webrtc fork.
This commit is contained in:
parent
8c999a0023
commit
4c8956027d
2 changed files with 5 additions and 5 deletions
6
external/webrtc/CMakeLists.txt
vendored
6
external/webrtc/CMakeLists.txt
vendored
|
|
@ -10,10 +10,10 @@ add_library(desktop-app::external_webrtc ALIAS external_webrtc)
|
|||
if (DESKTOP_APP_WEBRTC_LOCATION)
|
||||
set(webrtc_loc ${DESKTOP_APP_WEBRTC_LOCATION})
|
||||
else()
|
||||
set(webrtc_loc ${libs_loc}/webrtc/src)
|
||||
set(webrtc_loc ${libs_loc}/tg_owt/src)
|
||||
endif()
|
||||
|
||||
set(webrtc_build_loc ${webrtc_loc}/out/$<CONFIG>/obj)
|
||||
set(webrtc_build_loc ${libs_loc}/tg_owt/out/$<CONFIG>)
|
||||
|
||||
target_compile_definitions(external_webrtc
|
||||
INTERFACE
|
||||
|
|
@ -64,7 +64,7 @@ INTERFACE
|
|||
)
|
||||
|
||||
set(webrtc_libs
|
||||
${webrtc_lib_prefix}webrtc
|
||||
${webrtc_lib_prefix}tg_owt
|
||||
)
|
||||
if (APPLE)
|
||||
target_include_directories(external_webrtc
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ endfunction()
|
|||
|
||||
function(init_target target_name) # init_target(my_target folder_name)
|
||||
if (ARGC GREATER 1)
|
||||
if (${ARGV1} STREQUAL cxx_std_14 OR ${ARGV1} STREQUAL cxx_std_11)
|
||||
if (${ARGV1} STREQUAL cxx_std_14 OR ${ARGV1} STREQUAL cxx_std_11 OR ${ARGV1} STREQUAL cxx_std_17)
|
||||
target_compile_features(${target_name} PUBLIC ${ARGV1})
|
||||
else()
|
||||
target_compile_features(${target_name} PUBLIC ${MAXIMUM_CXX_STANDARD})
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue