Merge topic 'dev/fix-sublime-compile-flags'
2d9f93ab
Sublime: Pass language and config properly
This commit is contained in:
commit
764d467d24
|
@ -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