File tree Expand file tree Collapse file tree 1 file changed +15
-13
lines changed
Expand file tree Collapse file tree 1 file changed +15
-13
lines changed Original file line number Diff line number Diff line change @@ -141,21 +141,23 @@ if checkSDL2Installed() {
141141 )
142142}
143143
144- // TODO: Conditionally include TermKit backend
145- conditionalTargets. append (
146- . target(
147- name: " CursesBackend " ,
148- dependencies: [ " SwiftCrossUI " , " TermKit " ]
144+ #if os(macOS)
145+ // TODO: Switch to a different terminal library that doesn't have issues on non-Apple platforms
146+ conditionalTargets. append (
147+ . target(
148+ name: " CursesBackend " ,
149+ dependencies: [ " SwiftCrossUI " , " TermKit " ]
150+ )
149151 )
150- )
151- backendTargets . append ( " CursesBackend " )
152- exampleDependencies . append ( " CursesBackend " )
153- dependencies . append (
154- . package (
155- url : " https://github.com/migueldeicaza/TermKit " ,
156- revision : " 3bce85d1bafbbb0336b3b7b7e905c35754cb9adf "
152+ backendTargets . append ( " CursesBackend " )
153+ exampleDependencies . append ( " CursesBackend " )
154+ dependencies . append (
155+ . package (
156+ url : " https://github.com/migueldeicaza/TermKit " ,
157+ revision : " 3bce85d1bafbbb0336b3b7b7e905c35754cb9adf "
158+ )
157159 )
158- )
160+ #endif
159161
160162let package = Package (
161163 name: " swift-cross-ui " ,
You can’t perform that action at this time.
0 commit comments