summaryrefslogtreecommitdiffstats
path: root/Source/cmExtraSublimeTextGenerator.cxx
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2014-02-10 04:20:18 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2014-02-11 19:41:43 (GMT)
commit2d9f93ab24872bebc77be8ac388592ddfaa76e45 (patch)
tree4b667e221e46b66fa0876bd5a02e832c1499a986 /Source/cmExtraSublimeTextGenerator.cxx
parent418a155be7e44117297c072b6aa0f21f4407c052 (diff)
downloadCMake-2d9f93ab24872bebc77be8ac388592ddfaa76e45.zip
CMake-2d9f93ab24872bebc77be8ac388592ddfaa76e45.tar.gz
CMake-2d9f93ab24872bebc77be8ac388592ddfaa76e45.tar.bz2
Sublime: Pass language and config properly
Diffstat (limited to 'Source/cmExtraSublimeTextGenerator.cxx')
-rw-r--r--Source/cmExtraSublimeTextGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmExtraSublimeTextGenerator.cxx b/Source/cmExtraSublimeTextGenerator.cxx
index 52411e8..604bfcc 100644
--- a/Source/cmExtraSublimeTextGenerator.cxx
+++ b/Source/cmExtraSublimeTextGenerator.cxx
@@ -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"));