summaryrefslogtreecommitdiff
path: root/test/test.gyp
diff options
context:
space:
mode:
authorMike Morris <michael.patrick.morris@gmail.com>2014-11-07 12:20:40 -0500
committerMike Morris <michael.patrick.morris@gmail.com>2014-11-07 12:20:40 -0500
commitb5198374e766b7c67e3e87a1b9c729038e0b9b68 (patch)
treec9f83f2d464c63a6786f0176712a61485faf2033 /test/test.gyp
parent7e65c88b464b2faa35f8aa9c3ec3029d5c359393 (diff)
downloadqtlocation-mapboxgl-b5198374e766b7c67e3e87a1b9c729038e0b9b68.tar.gz
add boost headers to cflags_cc for text_conversions test
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)'],
}]
]