summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorder richter <der.richter@gmx.de>2019-04-14 15:07:56 +0200
committerJan Ekström <jeebjp@gmail.com>2019-07-21 18:13:07 +0300
commitc540ac8485d132285071aa43a493c3829f4f0d5c (patch)
tree013b1eadb00ea569ea8bbdc01c1f0f22d99ebbd4 /wscript
parent850b3037323ad68012c1d0b59ec00f56a9d8c09b (diff)
downloadmpv-c540ac8485d132285071aa43a493c3829f4f0d5c.tar.bz2
mpv-c540ac8485d132285071aa43a493c3829f4f0d5c.tar.xz
cocoa-cb: conditional compilation for Dark Mode and Material features
Fixes #6621
Diffstat (limited to 'wscript')
-rw-r--r--wscript12
1 files changed, 11 insertions, 1 deletions
diff --git a/wscript b/wscript
index 76cfe1ddd3..0670e50a66 100644
--- a/wscript
+++ b/wscript
@@ -945,7 +945,17 @@ standalone_features = [
framework_name=['AppKit'],
compile_filename='test-touchbar.m',
linkflags='-fobjc-arc')
- }, {
+ }, {
+ 'name': '--macos-10-11-features',
+ 'desc': 'macOS 10.11 SDK Features',
+ 'deps': 'cocoa',
+ 'func': check_macos_sdk('10.11')
+ }, {
+ 'name': '--macos-10-14-features',
+ 'desc': 'macOS 10.14 SDK Features',
+ 'deps': 'cocoa',
+ 'func': check_macos_sdk('10.14')
+ }, {
'name': '--macos-cocoa-cb',
'desc': 'macOS opengl-cb backend',
'deps': 'cocoa && swift',