summaryrefslogtreecommitdiffstats
path: root/Source/cmExtraSublimeTextGenerator.cxx
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2014-05-01 20:07:26 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2014-05-07 18:30:31 (GMT)
commit6fa6bedf78981d336b66d55ca10a1d290d014101 (patch)
tree01bcbe86eede14cc94f84e2ae0293652e82319db /Source/cmExtraSublimeTextGenerator.cxx
parent01b79c6385d32e635b5720d8075a60fd50577c66 (diff)
downloadCMake-6fa6bedf78981d336b66d55ca10a1d290d014101.zip
CMake-6fa6bedf78981d336b66d55ca10a1d290d014101.tar.gz
CMake-6fa6bedf78981d336b66d55ca10a1d290d014101.tar.bz2
LocalGenerator: Add a string overload for AppendFlags
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 7fe47c3..5fff0fb 100644
--- a/Source/cmExtraSublimeTextGenerator.cxx
+++ b/Source/cmExtraSublimeTextGenerator.cxx
@@ -399,7 +399,7 @@ cmExtraSublimeTextGenerator::ComputeFlagsForObject(cmSourceFile* source,
lg->GetIncludeDirectories(includes, gtgt, language, config);
std::string includeFlags =
lg->GetIncludeFlags(includes, gtgt, language, true); // full include paths
- lg->AppendFlags(flags, includeFlags.c_str());
+ lg->AppendFlags(flags, includeFlags);
}
// Append old-style preprocessor definition flags.