2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

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

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

Submodule cmake updated: fde8a86d2b...d7c7e92ebc