mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Fix build on macOS.
This commit is contained in:
@@ -675,7 +675,7 @@ void Call::createAndStartController(const MTPDphoneCall &call) {
|
||||
#else // Q_OS_WIN
|
||||
const auto callLogUtf = QFile::encodeName(callLogNative);
|
||||
descriptor.config.logPath.resize(callLogUtf.size());
|
||||
ranges::copy(callLogUtf, config.logPath.begin());
|
||||
ranges::copy(callLogUtf, descriptor.config.logPath.begin());
|
||||
#endif // Q_OS_WIN
|
||||
QFile(callLogPath).remove();
|
||||
QDir().mkpath(callLogFolder);
|
||||
|
||||
Vendored
+1
-1
Submodule Telegram/ThirdParty/tgcalls updated: 77f3411be9...dc2d21160e
@@ -35,12 +35,12 @@ PRIVATE
|
||||
VideoCapturerInterface.h
|
||||
|
||||
platform/PlatformInterface.h
|
||||
platform/tdesktop/VideoCapturerInterfaceImpl.cpp
|
||||
platform/tdesktop/VideoCapturerInterfaceImpl.h
|
||||
|
||||
# Windows
|
||||
platform/windows/WindowsInterface.cpp
|
||||
platform/windows/WindowsInterface.h
|
||||
platform/windows/VideoCapturerInterfaceImpl.cpp
|
||||
platform/windows/VideoCapturerInterfaceImpl.h
|
||||
|
||||
# iOS / macOS
|
||||
platform/darwin/DarwinInterface.h
|
||||
@@ -53,22 +53,38 @@ PRIVATE
|
||||
platform/darwin/TGRTCVideoDecoderH265.mm
|
||||
platform/darwin/TGRTCVideoEncoderH265.h
|
||||
platform/darwin/TGRTCVideoEncoderH265.mm
|
||||
platform/darwin/VideoCameraCapturer.h
|
||||
platform/darwin/VideoCameraCapturer.mm
|
||||
platform/darwin/VideoCapturerInterfaceImpl.h
|
||||
platform/darwin/VideoCapturerInterfaceImpl.mm
|
||||
platform/darwin/VideoMetalView.h
|
||||
platform/darwin/VideoMetalView.mm
|
||||
# platform/darwin/VideoCameraCapturer.h
|
||||
# platform/darwin/VideoCameraCapturer.mm
|
||||
# platform/darwin/VideoCapturerInterfaceImpl.h
|
||||
# platform/darwin/VideoCapturerInterfaceImpl.mm
|
||||
# platform/darwin/VideoMetalView.h
|
||||
# platform/darwin/VideoMetalView.mm
|
||||
|
||||
# Linux
|
||||
|
||||
# POSIX
|
||||
)
|
||||
|
||||
target_compile_definitions(lib_tgcalls
|
||||
PRIVATE
|
||||
WEBRTC_APP_TDESKTOP
|
||||
RTC_ENABLE_VP9
|
||||
)
|
||||
|
||||
if (WIN32)
|
||||
target_compile_definitions(lib_tgcalls
|
||||
PRIVATE
|
||||
TARGET_OS_WIN
|
||||
WEBRTC_WIN
|
||||
)
|
||||
elseif (APPLE)
|
||||
target_compile_definitions(lib_tgcalls
|
||||
PRIVATE
|
||||
WEBRTC_MAC
|
||||
)
|
||||
else()
|
||||
target_compile_definitions(lib_tgcalls
|
||||
PRIVATE
|
||||
WEBRTC_LINUX
|
||||
)
|
||||
endif()
|
||||
|
||||
|
||||
+1
-1
Submodule Telegram/lib_webrtc updated: 078f6bf15d...6c349a9746
+1
-1
Submodule cmake updated: 8414d2aa3a...bff30ad53b
Reference in New Issue
Block a user