summaryrefslogtreecommitdiffstats
path: root/Source/cmCustomCommand.cxx
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2014-05-23 18:41:46 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2014-06-05 16:44:04 (GMT)
commitd46c650d676420a3053ba39e7af8808d581d04ab (patch)
treee25c57afe9794bf3c48b5b20ff8658b34cbc0103 /Source/cmCustomCommand.cxx
parent88818b680549651b6531a6648396d749b759afb2 (diff)
downloadCMake-d46c650d676420a3053ba39e7af8808d581d04ab.zip
CMake-d46c650d676420a3053ba39e7af8808d581d04ab.tar.gz
CMake-d46c650d676420a3053ba39e7af8808d581d04ab.tar.bz2
cmMakefile: return a backtrace
This allows backtraces to be fully controlled by the makefile rather than externally (and makes changing how they are manipulated easier).
Diffstat (limited to 'Source/cmCustomCommand.cxx')
-rw-r--r--Source/cmCustomCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmCustomCommand.cxx b/Source/cmCustomCommand.cxx
index ac2eef8..20908a5 100644
--- a/Source/cmCustomCommand.cxx
+++ b/Source/cmCustomCommand.cxx
@@ -84,7 +84,7 @@ cmCustomCommand::cmCustomCommand(cmMakefile const* mf,
this->EscapeAllowMakeVars = false;
if(mf)
{
- mf->GetBacktrace(*this->Backtrace);
+ *this->Backtrace = mf->GetBacktrace();
}
}