diff --git a/tools/vs2012.py b/tools/vs2012.py index 76850279bb..e8305e5034 100644 --- a/tools/vs2012.py +++ b/tools/vs2012.py @@ -134,7 +134,7 @@ def VS_add_HeadFiles(program, elem, project_path): ItemGroup = SubElement(elem, 'ItemGroup') filter_h_ItemGroup = SubElement(filter_project, 'ItemGroup') - for f in building.source_list: + for f in utils.source_list: path = _make_path_relative(project_path, f) File = SubElement(ItemGroup, 'ClInclude') File.set('Include', path.decode(fs_encoding))