Remove webrtc test code usage on Windows.

This commit is contained in:
John Preston 2020-07-16 16:05:04 +04:00
parent 7fec49a752
commit a4ee90e8c6
3 changed files with 8 additions and 4 deletions

@ -1 +1 @@
Subproject commit 0b98641d4ccf2f2c7ea406e971ece81b229160ae
Subproject commit beb6eac853c6f2caf037ab1c374c25cf81af7a95

View file

@ -11,8 +11,6 @@ add_library(tdesktop::lib_tgcalls ALIAS lib_tgcalls)
set(tgcalls_dir ${third_party_loc}/tgcalls)
set(tgcalls_loc ${tgcalls_dir}/tgcalls)
target_compile_options(lib_tgcalls PRIVATE -fobjc-arc)
nice_target_sources(lib_tgcalls ${tgcalls_loc}
PRIVATE
CodecSelectHelper.cpp
@ -43,6 +41,8 @@ PRIVATE
platform/tdesktop/VideoCapturerInterfaceImpl.h
platform/tdesktop/VideoCapturerTrackSource.cpp
platform/tdesktop/VideoCapturerTrackSource.h
platform/tdesktop/VideoCameraCapturer.cpp
platform/tdesktop/VideoCameraCapturer.h
# Windows
platform/windows/WindowsInterface.cpp
@ -87,6 +87,10 @@ if (WIN32)
WEBRTC_WIN
)
elseif (APPLE)
target_compile_options(lib_tgcalls
PRIVATE
-fobjc-arc
)
target_compile_definitions(lib_tgcalls
PRIVATE
WEBRTC_MAC

2
cmake

@ -1 +1 @@
Subproject commit fde8a86d2bb2613ae493e8185c2dfc2f798191ca
Subproject commit d7c7e92ebc68bb9b6c5187dc8476d9f62b00058c