summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'wscript')
-rw-r--r--wscript9
1 files changed, 7 insertions, 2 deletions
diff --git a/wscript b/wscript
index 1089695ff9..b299a27a1a 100644
--- a/wscript
+++ b/wscript
@@ -171,6 +171,11 @@ main_dependencies = [
'fmsg': 'Unable to find either POSIX or MinGW-w64 environment, ' \
'or compiler does not work.',
}, {
+ 'name': '--swift',
+ 'desc': 'macOS Swift build tools',
+ 'deps': 'os-darwin',
+ 'func': check_swift,
+ }, {
'name': '--uwp',
'desc': 'Universal Windows Platform',
'default': 'disable',
@@ -914,8 +919,8 @@ standalone_features = [
}, {
'name': '--macos-cocoa-cb',
'desc': 'macOS opengl-cb backend',
- 'deps': 'cocoa',
- 'func': check_swift
+ 'deps': 'cocoa && swift',
+ 'func': check_true
}
]