|
|
@@ -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"));
|