Sublime: Pass language and config properly
This commit is contained in:
parent
418a155be7
commit
2d9f93ab24
|
@ -403,7 +403,7 @@ cmExtraSublimeTextGenerator::ComputeFlagsForObject(cmSourceFile* source,
|
|||
lg->AppendFlags(flags, makefile->GetDefineFlags());
|
||||
|
||||
// Add target-specific flags.
|
||||
lg->AddCompileOptions(flags, target, config, language);
|
||||
lg->AddCompileOptions(flags, target, language, config);
|
||||
|
||||
// Add source file specific flags.
|
||||
lg->AppendFlags(flags, source->GetProperty("COMPILE_FLAGS"));
|
||||
|
|
Loading…
Reference in New Issue