From b5198374e766b7c67e3e87a1b9c729038e0b9b68 Mon Sep 17 00:00:00 2001 From: Mike Morris Date: Fri, 7 Nov 2014 12:20:40 -0500 Subject: add boost headers to cflags_cc for text_conversions test --- test/test.gyp | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'test/test.gyp') 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)'], }] ] -- cgit v1.2.1