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,6 +20,7 @@ for cpp_test in glob.glob('*_test.cpp'):
|
|||
agg_env = Environment(ENV=os.environ)
|
||||
agg_env['CXX'] = env['CXX']
|
||||
agg_env['CXXFLAGS'] = env['CXXFLAGS']
|
||||
if 'agg' in test_env['LIBS']:
|
||||
agg_env.AppendUnique(LIBS='agg')
|
||||
agg_env.Append(CPPPATH = '#deps/agg/include')
|
||||
agg_env.Append(LIBPATH = '#deps/agg')
|
||||
|
|
Loading…
Add table
Reference in a new issue