diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-07-22 15:34:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-22 15:34:04 +0200 |
commit | f03c1c8d4fcc5758be84ce114c1b4f7990a19aed (patch) | |
tree | 052f28156bf8b60e33f928b1d3d32918f6988ab1 /editor | |
parent | 017b224a87064a3d333ba63809a0f12cfe2c4412 (diff) | |
parent | 66d09a6b4cae73fbb48fe01082af5397c4a75d9a (diff) |
Merge pull request #30752 from akien-mga/scons-fix-add_source_files
SCons: Fix uses of [].append instead of env.add_source_files()
Diffstat (limited to 'editor')
-rw-r--r-- | editor/SCsub | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/SCsub b/editor/SCsub index 7d48e47c9f..2b560f68e8 100644 --- a/editor/SCsub +++ b/editor/SCsub @@ -31,7 +31,7 @@ if env['tools']: reg_exporters_inc = '#include "register_exporters.h"\n' reg_exporters = 'void register_exporters() {\n' for e in env.platform_exporters: - env.editor_sources.append("#platform/" + e + "/export/export.cpp") + env.add_source_files(env.editor_sources, "#platform/" + e + "/export/export.cpp") reg_exporters += '\tregister_' + e + '_exporter();\n' reg_exporters_inc += '#include "platform/' + e + '/export/export.h"\n' reg_exporters += '}\n' |