only link to agg if needed
This commit is contained in:
parent
a7f2eacd76
commit
858252323c
1 changed files with 2 additions and 1 deletions
|
@ -20,7 +20,8 @@ for cpp_test in glob.glob('*_test.cpp'):
|
|||
agg_env = Environment(ENV=os.environ)
|
||||
agg_env['CXX'] = env['CXX']
|
||||
agg_env['CXXFLAGS'] = env['CXXFLAGS']
|
||||
agg_env.AppendUnique(LIBS='agg')
|
||||
if 'agg' in test_env['LIBS']:
|
||||
agg_env.AppendUnique(LIBS='agg')
|
||||
agg_env.Append(CPPPATH = '#deps/agg/include')
|
||||
agg_env.Append(LIBPATH = '#deps/agg')
|
||||
agg_env['CPPPATH'] = ['#deps/agg/include',env['BOOST_INCLUDES']]
|
||||
|
|
Loading…
Reference in a new issue