summaryrefslogtreecommitdiffstats
path: root/Source/cmNinjaNormalTargetGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2012-09-15 23:35:08 (GMT)
committerStephen Kelly <steveire@gmail.com>2012-09-19 13:31:39 (GMT)
commitf9146f6b90d381a70bdb6a3c97742e3a53bb6235 (patch)
tree9cd1c197d542112138c444fa0b6106f5f8070022 /Source/cmNinjaNormalTargetGenerator.cxx
parent9facfd133654098ac59c0df957555ea5b5ed9a5a (diff)
downloadCMake-f9146f6b90d381a70bdb6a3c97742e3a53bb6235.zip
CMake-f9146f6b90d381a70bdb6a3c97742e3a53bb6235.tar.gz
CMake-f9146f6b90d381a70bdb6a3c97742e3a53bb6235.tar.bz2
Port cmLocalGenerator::GetTargetFlags to cmGeneratorTarget.
Diffstat (limited to 'Source/cmNinjaNormalTargetGenerator.cxx')
-rw-r--r--Source/cmNinjaNormalTargetGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmNinjaNormalTargetGenerator.cxx b/Source/cmNinjaNormalTargetGenerator.cxx
index 082e9f3..6f991e2 100644
--- a/Source/cmNinjaNormalTargetGenerator.cxx
+++ b/Source/cmNinjaNormalTargetGenerator.cxx
@@ -423,7 +423,7 @@ void cmNinjaNormalTargetGenerator::WriteLinkStatement()
this->GetLocalGenerator()->GetTargetFlags(vars["LINK_LIBRARIES"],
vars["FLAGS"],
vars["LINK_FLAGS"],
- *this->GetTarget());
+ this->GetGeneratorTarget());
this->AddModuleDefinitionFlag(vars["LINK_FLAGS"]);