diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-03-04 20:53:15 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-03-09 19:49:17 (GMT) |
commit | b734fa44719a780683e2eb0dfaabd38d64daa3f6 (patch) | |
tree | 55e4a63eb8ebb01ccc216b146fd5a126ea0698b1 /Source/cmGeneratorTarget.cxx | |
parent | 0b945ea9a6a38d1b3ee27cc32afb4268bd571600 (diff) | |
download | CMake-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.cxx | 5 |
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); } //---------------------------------------------------------------------------- |