diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2014-05-23 14:41:46 -0400 |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2014-06-05 12:44:04 -0400 |
commit | d46c650d676420a3053ba39e7af8808d581d04ab (patch) | |
tree | e25c57afe9794bf3c48b5b20ff8658b34cbc0103 /Source/cmTargetCompileOptionsCommand.cxx | |
parent | 88818b680549651b6531a6648396d749b759afb2 (diff) | |
download | cmake-d46c650d676420a3053ba39e7af8808d581d04ab.tar.gz |
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/cmTargetCompileOptionsCommand.cxx')
-rw-r--r-- | Source/cmTargetCompileOptionsCommand.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmTargetCompileOptionsCommand.cxx b/Source/cmTargetCompileOptionsCommand.cxx index 18499fd4e5..3fb76a6ddd 100644 --- a/Source/cmTargetCompileOptionsCommand.cxx +++ b/Source/cmTargetCompileOptionsCommand.cxx @@ -55,8 +55,7 @@ bool cmTargetCompileOptionsCommand ::HandleDirectContent(cmTarget *tgt, const std::vector<std::string> &content, bool, bool) { - cmListFileBacktrace lfbt; - this->Makefile->GetBacktrace(lfbt); + cmListFileBacktrace lfbt = this->Makefile->GetBacktrace(); cmValueWithOrigin entry(this->Join(content), lfbt); tgt->InsertCompileOption(entry); return true; |