summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorTarget.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-03-04 20:53:15 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-03-09 19:49:17 (GMT)
commitb734fa44719a780683e2eb0dfaabd38d64daa3f6 (patch)
tree55e4a63eb8ebb01ccc216b146fd5a126ea0698b1 /Source/cmGeneratorTarget.cxx
parent0b945ea9a6a38d1b3ee27cc32afb4268bd571600 (diff)
downloadCMake-b734fa44719a780683e2eb0dfaabd38d64daa3f6.zip
CMake-b734fa44719a780683e2eb0dfaabd38d64daa3f6.tar.gz
CMake-b734fa44719a780683e2eb0dfaabd38d64daa3f6.tar.bz2
Genex: Allow COMPILE_LANGUAGE when processing include directories.
Issue an error if this is encountered by an IDE generator.
Diffstat (limited to 'Source/cmGeneratorTarget.cxx')
-rw-r--r--Source/cmGeneratorTarget.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx
index 44c9e9a..b7b2eff 100644
--- a/Source/cmGeneratorTarget.cxx
+++ b/Source/cmGeneratorTarget.cxx
@@ -960,9 +960,10 @@ cmGeneratorTarget::GetCreateRuleVariable(std::string const& lang,
//----------------------------------------------------------------------------
std::vector<std::string>
-cmGeneratorTarget::GetIncludeDirectories(const std::string& config) const
+cmGeneratorTarget::GetIncludeDirectories(const std::string& config,
+ const std::string& lang) const
{
- return this->Target->GetIncludeDirectories(config);
+ return this->Target->GetIncludeDirectories(config, lang);
}
//----------------------------------------------------------------------------