Skip to content

Commit 3ce6688

Browse files
committed
update to latest packages
1 parent faf705c commit 3ce6688

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

Package.swift

+7-6
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ let package = Package(
66
name: "OpenGLExampleApp",
77
dependencies: [
88
.package(url: "https://github.com/sakrist/SwiftMath", from: "3.2.3"),
9-
.package(url: "https://github.com/sakrist/GLAppBase", from: "0.0.1")
9+
.package(url: "https://github.com/sakrist/GLAppBase", from: "0.0.2")
1010
],
1111
targets: [
1212
.target( name: "app", dependencies: [ "SwiftMath", "GLAppBase" ]),
1313
]
1414
)
1515

16-
17-
//#if os(Android)
16+
17+
#if os(Android)
1818
package.products.append(.library(name: "OpenGLExampleApp", type: .dynamic, targets: ["app"]))
1919
package.dependencies.append(.package(name: "SwiftProtobuf", url: "https://github.com/apple/swift-protobuf.git", .exact("1.13.0")))
2020
package.dependencies.append(.package(url: "https://github.com/apple/swift-log.git", from: "1.4.0"))
@@ -26,10 +26,11 @@ package.targets += [
2626
.systemLibrary(name: "CAndroidLog"),
2727
.systemLibrary(name: "CAndroidGL")
2828
]
29-
//#endif
29+
#endif
3030

3131
#if os(Linux)
32-
package.dependencies.append(.package(url: "https://github.com/sakrist/COpenGL.swift.git", from:"1.0.6"))
33-
package.dependencies.append(.package(url: "https://github.com/sakrist/CX11.swift.git", from:"1.0.4"))
32+
package.dependencies.append(.package(name: "COpenGL", url: "https://github.com/sakrist/COpenGL.swift.git", from:"1.0.7"))
33+
package.dependencies.append(.package(name: "CX11", url: "https://github.com/sakrist/CX11.swift.git", from:"1.0.5"))
34+
package.targets[0].dependencies += ["COpenGL", "CX11"]
3435
#endif
3536

0 commit comments

Comments
 (0)