summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefileTargetGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-08-05 15:37:50 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-08-26 17:46:32 (GMT)
commit69329fff70300debf10b62ac08a6bcee9ae7bc3c (patch)
tree782390e19f3c69c3ed07fdfeacbcbeaaa683007f /Source/cmMakefileTargetGenerator.cxx
parent0431f2c4d7cbfcd873bc34caee9ed09253e8c8ad (diff)
downloadCMake-69329fff70300debf10b62ac08a6bcee9ae7bc3c.zip
CMake-69329fff70300debf10b62ac08a6bcee9ae7bc3c.tar.gz
CMake-69329fff70300debf10b62ac08a6bcee9ae7bc3c.tar.bz2
cmGeneratorTarget: Move GetLanguages from cmTarget.
Diffstat (limited to 'Source/cmMakefileTargetGenerator.cxx')
-rw-r--r--Source/cmMakefileTargetGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMakefileTargetGenerator.cxx b/Source/cmMakefileTargetGenerator.cxx
index 0b3df90..cf88a74 100644
--- a/Source/cmMakefileTargetGenerator.cxx
+++ b/Source/cmMakefileTargetGenerator.cxx
@@ -276,7 +276,7 @@ void cmMakefileTargetGenerator::WriteTargetLanguageFlags()
{
// write language flags for target
std::set<std::string> languages;
- this->Target->GetLanguages(languages,
+ this->GeneratorTarget->GetLanguages(languages,
this->Makefile->GetSafeDefinition("CMAKE_BUILD_TYPE"));
// put the compiler in the rules.make file so that if it changes
// things rebuild