mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Fix build
This commit is contained in:
parent
4660ac362e
commit
99443fbb55
10
.bazelrc
10
.bazelrc
@ -2,11 +2,11 @@ build --action_env=ZERO_AR_DATE=1
|
||||
|
||||
build --apple_platform_type=ios
|
||||
|
||||
build --cxxopt='-std=c++14'
|
||||
build --per_file_copt="third-party/webrtc/.*\.cpp$","@-std=c++14"
|
||||
build --per_file_copt="third-party/webrtc/.*\.cc$","@-std=c++14"
|
||||
build --per_file_copt="third-party/webrtc/.*\.mm$","@-std=c++14"
|
||||
build --per_file_copt="submodules/LottieMeshSwift/LottieMeshBinding/Sources/.*\.mm$","@-std=c++14"
|
||||
build --cxxopt='-std=c++17'
|
||||
build --per_file_copt="third-party/webrtc/.*\.cpp$","@-std=c++17"
|
||||
build --per_file_copt="third-party/webrtc/.*\.cc$","@-std=c++17"
|
||||
build --per_file_copt="third-party/webrtc/.*\.mm$","@-std=c++17"
|
||||
build --per_file_copt="submodules/LottieMeshSwift/LottieMeshBinding/Sources/.*\.mm$","@-std=c++17"
|
||||
|
||||
build --swiftcopt=-whole-module-optimization
|
||||
|
||||
|
@ -96,6 +96,9 @@ objc_library(
|
||||
"GLKit",
|
||||
"AVFoundation",
|
||||
],
|
||||
sdk_dylibs = [
|
||||
"libz",
|
||||
],
|
||||
visibility = [
|
||||
"//visibility:public",
|
||||
],
|
||||
|
Loading…
x
Reference in New Issue
Block a user