summaryrefslogtreecommitdiffstats
path: root/Source/cmExtraSublimeTextGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-07-01 20:28:26 (GMT)
committerStephen Kelly <steveire@gmail.com>2013-07-02 14:40:02 (GMT)
commitf1fcbe3fdedb0d04fe89423331c0f2789bfe911e (patch)
treefafa4caa5f9329d8e5dedad0d27d1cf18dde7c2f /Source/cmExtraSublimeTextGenerator.cxx
parent2679a34a943cddb61f816299476f15997f9b5980 (diff)
downloadCMake-f1fcbe3fdedb0d04fe89423331c0f2789bfe911e.zip
CMake-f1fcbe3fdedb0d04fe89423331c0f2789bfe911e.tar.gz
CMake-f1fcbe3fdedb0d04fe89423331c0f2789bfe911e.tar.bz2
Add Target API to determine if an include is a system include.
The implementation can be modified later so that system includes can be determined on a per-target basis.
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 012013c..39b6add 100644
--- a/Source/cmExtraSublimeTextGenerator.cxx
+++ b/Source/cmExtraSublimeTextGenerator.cxx
@@ -421,7 +421,7 @@ cmExtraSublimeTextGenerator::ComputeFlagsForObject(cmSourceFile* source,
std::vector<std::string> includes;
lg->GetIncludeDirectories(includes, gtgt, language, config);
std::string includeFlags =
- lg->GetIncludeFlags(includes, language, true); // full include paths
+ lg->GetIncludeFlags(includes, gtgt, language, true); // full include paths
lg->AppendFlags(flags, includeFlags.c_str());
}