summaryrefslogtreecommitdiff
path: root/binding.gyp
diff options
context:
space:
mode:
authorevgeny <me@ch1p.com>2018-12-25 20:35:55 +0300
committerevgeny <me@ch1p.com>2018-12-25 20:35:55 +0300
commit4bb8b614a70fd8c483b7c5b8eaf7c4ed4634ff18 (patch)
treea013f4c4445b5cd0ac1ffd0cc5cc0f1762e95973 /binding.gyp
parent0b8b83c1551332ed8b19332cf9f241fabde044ee (diff)
upd
Diffstat (limited to 'binding.gyp')
-rwxr-xr-xbinding.gyp15
1 files changed, 14 insertions, 1 deletions
diff --git a/binding.gyp b/binding.gyp
index c8c5123..5810f8b 100755
--- a/binding.gyp
+++ b/binding.gyp
@@ -2,7 +2,20 @@
"targets": [
{
"target_name": "mojave-permissions",
- "sources": [ "index.mm" ],
+ 'conditions': [
+ ['OS=="mac"', {
+ 'sources': [
+ 'index.mm'
+ ],
+ 'xcode_settings': {
+ 'CLANG_CXX_LIBRARY': 'libc++',
+ 'MACOSX_DEPLOYMENT_TARGET': '10.14',
+ 'OTHER_CFLAGS': [
+ '-ObjC++'
+ ]
+ }
+ }]
+ ],
"libraries": [ "-framework AVFoundation" ]
}
]