mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
submobules update for macos
This commit is contained in:
parent
6a41527153
commit
a03c9be13b
@ -13,6 +13,7 @@ let package = Package(
|
|||||||
],
|
],
|
||||||
dependencies: [
|
dependencies: [
|
||||||
.package(name: "ShelfPack", path: "../Utils/ShelfPack"),
|
.package(name: "ShelfPack", path: "../Utils/ShelfPack"),
|
||||||
|
.package(name: "TGUIKit", path: "../../../../packages/TGUIKit"),
|
||||||
// Dependencies declare other packages that this package depends on.
|
// Dependencies declare other packages that this package depends on.
|
||||||
// .package(url: /* package url */, from: "1.0.0"),
|
// .package(url: /* package url */, from: "1.0.0"),
|
||||||
],
|
],
|
||||||
@ -21,7 +22,8 @@ let package = Package(
|
|||||||
// Targets can depend on other targets in this package, and on products in packages this package depends on.
|
// Targets can depend on other targets in this package, and on products in packages this package depends on.
|
||||||
.target(
|
.target(
|
||||||
name: "MetalEngine",
|
name: "MetalEngine",
|
||||||
dependencies: [.product(name: "ShelfPack", package: "ShelfPack", condition: nil)],
|
dependencies: [.product(name: "ShelfPack", package: "ShelfPack", condition: nil),
|
||||||
path: "Sources/MetalEngine"),
|
.product(name: "TGUIKit", package: "TGUIKit", condition: nil)],
|
||||||
|
path: "Sources/"),
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
@ -4,8 +4,12 @@ import Metal
|
|||||||
#if os(iOS)
|
#if os(iOS)
|
||||||
import Display
|
import Display
|
||||||
import UIKit
|
import UIKit
|
||||||
|
#else
|
||||||
|
import AppKit
|
||||||
|
import TGUIKit
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
import IOSurface
|
import IOSurface
|
||||||
import ShelfPack
|
import ShelfPack
|
||||||
|
|
||||||
|
@ -23,5 +23,6 @@ let package = Package(
|
|||||||
dependencies: [],
|
dependencies: [],
|
||||||
path: ".",
|
path: ".",
|
||||||
publicHeadersPath: "PublicHeaders"),
|
publicHeadersPath: "PublicHeaders"),
|
||||||
]
|
],
|
||||||
|
cxxLanguageStandard: .cxx20
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user