From 59f5445dd635428b0deef543edde4d56ca0baff4 Mon Sep 17 00:00:00 2001 From: Jonathan Cooper Date: Fri, 8 Jan 2010 16:54:08 +0000 Subject: [PATCH] [projects] #1026 - update project SConscripts to match. git-svn-id: https://chaste.cs.ox.ac.uk/svn/chaste/projects/template@7704 b5f69653-2bf5-0310-8201-b0dafb8e1405 --- SConscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SConscript b/SConscript index ee59315..82f98f1 100644 --- a/SConscript +++ b/SConscript @@ -24,10 +24,10 @@ chaste_libs = [project_name] + comp_deps['core'] # Look for .cpp files within the src folder os.chdir('../..') # This is so .o files are built in /build// -files, extra_cpppath = SConsTools.FindSourceFiles('src', includeRoot=True) +files, extra_cpppath = SConsTools.FindSourceFiles(env, 'src', includeRoot=True) # Look for source files that tests depend on under test/. -testsource, test_cpppath = SConsTools.FindSourceFiles('test', ['data']) +testsource, test_cpppath = SConsTools.FindSourceFiles(env, 'test', ['data']) extra_cpppath.extend(test_cpppath) del test_cpppath