submobules update for macos

This commit is contained in:
Mike Renoir 2023-12-06 22:33:19 +04:00
parent 6a41527153
commit a03c9be13b
3 changed files with 10 additions and 3 deletions

View File

@ -13,6 +13,7 @@ let package = Package(
],
dependencies: [
.package(name: "ShelfPack", path: "../Utils/ShelfPack"),
.package(name: "TGUIKit", path: "../../../../packages/TGUIKit"),
// Dependencies declare other packages that this package depends on.
// .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.
.target(
name: "MetalEngine",
dependencies: [.product(name: "ShelfPack", package: "ShelfPack", condition: nil)],
path: "Sources/MetalEngine"),
dependencies: [.product(name: "ShelfPack", package: "ShelfPack", condition: nil),
.product(name: "TGUIKit", package: "TGUIKit", condition: nil)],
path: "Sources/"),
]
)

View File

@ -4,8 +4,12 @@ import Metal
#if os(iOS)
import Display
import UIKit
#else
import AppKit
import TGUIKit
#endif
import IOSurface
import ShelfPack

View File

@ -23,5 +23,6 @@ let package = Package(
dependencies: [],
path: ".",
publicHeadersPath: "PublicHeaders"),
]
],
cxxLanguageStandard: .cxx20
)