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:
2
Telegram/ThirdParty/tgcalls
vendored
2
Telegram/ThirdParty/tgcalls
vendored
Submodule Telegram/ThirdParty/tgcalls updated: 0b98641d4c...beb6eac853
@@ -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
2
cmake
Submodule cmake updated: fde8a86d2b...d7c7e92ebc
Reference in New Issue
Block a user