summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'wscript')
-rw-r--r--wscript11
1 files changed, 10 insertions, 1 deletions
diff --git a/wscript b/wscript
index 098f53b131..1dedc567e1 100644
--- a/wscript
+++ b/wscript
@@ -923,7 +923,16 @@ standalone_features = [
'desc': 'Apple Remote support',
'deps': [ 'cocoa' ],
'func': check_true
- }
+ }, {
+ 'name': '--macos-touchbar',
+ 'desc': 'macOS Touch Bar support',
+ 'deps': [ 'cocoa' ],
+ 'func': check_cc(
+ fragment=load_fragment('touchbar.m'),
+ framework_name=['AppKit'],
+ compile_filename='test-touchbar.m',
+ linkflags='-fobjc-arc')
+ }
]
_INSTALL_DIRS_LIST = [