@@ -6,15 +6,15 @@ let package = Package(
6
6
name: " OpenGLExampleApp " ,
7
7
dependencies: [
8
8
. 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 " )
10
10
] ,
11
11
targets: [
12
12
. target( name: " app " , dependencies: [ " SwiftMath " , " GLAppBase " ] ) ,
13
13
]
14
14
)
15
15
16
-
17
- // #if os(Android)
16
+
17
+ #if os(Android)
18
18
package . products. append ( . library( name: " OpenGLExampleApp " , type: . dynamic, targets: [ " app " ] ) )
19
19
package . dependencies. append ( . package ( name: " SwiftProtobuf " , url: " https://github.com/apple/swift-protobuf.git " , . exact( " 1.13.0 " ) ) )
20
20
package . dependencies. append ( . package ( url: " https://github.com/apple/swift-log.git " , from: " 1.4.0 " ) )
@@ -26,10 +26,11 @@ package.targets += [
26
26
. systemLibrary( name: " CAndroidLog " ) ,
27
27
. systemLibrary( name: " CAndroidGL " )
28
28
]
29
- // #endif
29
+ #endif
30
30
31
31
#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 " ]
34
35
#endif
35
36
0 commit comments