summaryrefslogtreecommitdiff
path: root/test/test.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'test/test.gyp')
-rw-r--r--test/test.gyp12
1 files changed, 11 insertions, 1 deletions
diff --git a/test/test.gyp b/test/test.gyp
index 2c6f411cf9..cd2bb0ce0e 100644
--- a/test/test.gyp
+++ b/test/test.gyp
@@ -198,9 +198,19 @@
'../mapboxgl.gyp:mbgl-standalone',
'<(platform_library)',
],
+ 'variables': {
+ 'cflags_cc': [
+ '-I<(boost_root)/include',
+ ]
+ },
'conditions': [
- ['OS == "mac"', { 'xcode_settings': { 'OTHER_LDFLAGS': [ '<@(ldflags)', '-framework Foundation' ] }
+ ['OS == "mac"', {
+ 'xcode_settings': {
+ 'OTHER_CPLUSPLUSFLAGS': [ '<@(cflags_cc)' ],
+ 'OTHER_LDFLAGS': [ '<@(ldflags)', '-framework Foundation' ]
+ },
}, {
+ 'cflags_cc': [ '<@(cflags_cc)' ],
'libraries': [ '<@(ldflags)'],
}]
]