mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-02 15:45:12 +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_dir ${third_party_loc}/tgcalls)
|
||||||
set(tgcalls_loc ${tgcalls_dir}/tgcalls)
|
set(tgcalls_loc ${tgcalls_dir}/tgcalls)
|
||||||
|
|
||||||
target_compile_options(lib_tgcalls PRIVATE -fobjc-arc)
|
|
||||||
|
|
||||||
nice_target_sources(lib_tgcalls ${tgcalls_loc}
|
nice_target_sources(lib_tgcalls ${tgcalls_loc}
|
||||||
PRIVATE
|
PRIVATE
|
||||||
CodecSelectHelper.cpp
|
CodecSelectHelper.cpp
|
||||||
@@ -43,6 +41,8 @@ PRIVATE
|
|||||||
platform/tdesktop/VideoCapturerInterfaceImpl.h
|
platform/tdesktop/VideoCapturerInterfaceImpl.h
|
||||||
platform/tdesktop/VideoCapturerTrackSource.cpp
|
platform/tdesktop/VideoCapturerTrackSource.cpp
|
||||||
platform/tdesktop/VideoCapturerTrackSource.h
|
platform/tdesktop/VideoCapturerTrackSource.h
|
||||||
|
platform/tdesktop/VideoCameraCapturer.cpp
|
||||||
|
platform/tdesktop/VideoCameraCapturer.h
|
||||||
|
|
||||||
# Windows
|
# Windows
|
||||||
platform/windows/WindowsInterface.cpp
|
platform/windows/WindowsInterface.cpp
|
||||||
@@ -87,6 +87,10 @@ if (WIN32)
|
|||||||
WEBRTC_WIN
|
WEBRTC_WIN
|
||||||
)
|
)
|
||||||
elseif (APPLE)
|
elseif (APPLE)
|
||||||
|
target_compile_options(lib_tgcalls
|
||||||
|
PRIVATE
|
||||||
|
-fobjc-arc
|
||||||
|
)
|
||||||
target_compile_definitions(lib_tgcalls
|
target_compile_definitions(lib_tgcalls
|
||||||
PRIVATE
|
PRIVATE
|
||||||
WEBRTC_MAC
|
WEBRTC_MAC
|
||||||
|
2
cmake
2
cmake
Submodule cmake updated: fde8a86d2b...d7c7e92ebc
Reference in New Issue
Block a user