Sublime: Pass language and config properly

This commit is contained in:
Ben Boeckel 2014-02-09 23:20:18 -05:00
parent 418a155be7
commit 2d9f93ab24
1 changed files with 1 additions and 1 deletions

View File

@ -403,7 +403,7 @@ cmExtraSublimeTextGenerator::ComputeFlagsForObject(cmSourceFile* source,
lg->AppendFlags(flags, makefile->GetDefineFlags()); lg->AppendFlags(flags, makefile->GetDefineFlags());
// Add target-specific flags. // Add target-specific flags.
lg->AddCompileOptions(flags, target, config, language); lg->AddCompileOptions(flags, target, language, config);
// Add source file specific flags. // Add source file specific flags.
lg->AppendFlags(flags, source->GetProperty("COMPILE_FLAGS")); lg->AppendFlags(flags, source->GetProperty("COMPILE_FLAGS"));