summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-10-19 20:39:08 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-20 22:37:03 (GMT)
commit215cd21a0238ba00aec7c81014fe83e3d47187a6 (patch)
treebf800cbdd8d30cc30df1df2dded5a94a52112fe4 /Source/cmLocalGenerator.cxx
parent1df8bd3ab0f6621b90a8801c1d10cfc94c74ff96 (diff)
downloadCMake-215cd21a0238ba00aec7c81014fe83e3d47187a6.zip
CMake-215cd21a0238ba00aec7c81014fe83e3d47187a6.tar.gz
CMake-215cd21a0238ba00aec7c81014fe83e3d47187a6.tar.bz2
cmGeneratorTarget: Provide direct access to the backtrace.
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r--Source/cmLocalGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index deda88e..c65d9e0 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -1982,7 +1982,7 @@ AddCompilerRequirementFlag(std::string &flags,
std::string e =
lang + "_STANDARD is set to invalid value '" + standard + "'";
this->GetGlobalGenerator()->GetCMakeInstance()
- ->IssueMessage(cmake::FATAL_ERROR, e, target->Target->GetBacktrace());
+ ->IssueMessage(cmake::FATAL_ERROR, e, target->GetBacktrace());
return;
}
@@ -2141,7 +2141,7 @@ void cmLocalGenerator
"For compatibility CMake is not honoring them for this target.";
target->Target->GetMakefile()->GetCMakeInstance()
->IssueMessage(cmake::AUTHOR_WARNING, w.str(),
- target->Target->GetBacktrace());
+ target->GetBacktrace());
}
}