diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-08-05 15:37:50 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-08-26 17:46:32 (GMT) |
commit | 69329fff70300debf10b62ac08a6bcee9ae7bc3c (patch) | |
tree | 782390e19f3c69c3ed07fdfeacbcbeaaa683007f /Source/cmGlobalUnixMakefileGenerator3.cxx | |
parent | 0431f2c4d7cbfcd873bc34caee9ed09253e8c8ad (diff) | |
download | CMake-69329fff70300debf10b62ac08a6bcee9ae7bc3c.zip CMake-69329fff70300debf10b62ac08a6bcee9ae7bc3c.tar.gz CMake-69329fff70300debf10b62ac08a6bcee9ae7bc3c.tar.bz2 |
cmGeneratorTarget: Move GetLanguages from cmTarget.
Diffstat (limited to 'Source/cmGlobalUnixMakefileGenerator3.cxx')
-rw-r--r-- | Source/cmGlobalUnixMakefileGenerator3.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmGlobalUnixMakefileGenerator3.cxx b/Source/cmGlobalUnixMakefileGenerator3.cxx index b240924..331caad 100644 --- a/Source/cmGlobalUnixMakefileGenerator3.cxx +++ b/Source/cmGlobalUnixMakefileGenerator3.cxx @@ -1134,7 +1134,8 @@ bool cmGlobalUnixMakefileGenerator3 ::NeedRequiresStep(cmTarget const& target) { std::set<std::string> languages; - target.GetLanguages(languages, + cmGeneratorTarget* gtgt = this->GetGeneratorTarget(&target); + gtgt->GetLanguages(languages, target.GetMakefile()->GetSafeDefinition("CMAKE_BUILD_TYPE")); for(std::set<std::string>::const_iterator l = languages.begin(); l != languages.end(); ++l) |