summaryrefslogtreecommitdiffstats
path: root/Source/cmTargetIncludeDirectoriesCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-06-09 14:28:44 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2014-06-09 14:28:44 (GMT)
commita0861931ead8cdcb6401e204ca4072c60af46101 (patch)
treec00793527b732b81291d9f0c93a56cacc870bb95 /Source/cmTargetIncludeDirectoriesCommand.cxx
parent3c0652f8bf8974fde8b8313738272f2714b0f62b (diff)
parent86be733fa589fc1755db9274a5606f71062a6c0f (diff)
downloadCMake-a0861931ead8cdcb6401e204ca4072c60af46101.zip
CMake-a0861931ead8cdcb6401e204ca4072c60af46101.tar.gz
CMake-a0861931ead8cdcb6401e204ca4072c60af46101.tar.bz2
Merge topic 'dev/backtrace-performance'
86be733f cmGeneratorExpression: Add workaround for Borland compiler 3495ab0a tests: update unused variable test expected output 2a1b2d84 backtrace: Convert to local paths in IssueMessage a0829205 genex: remove the need for backtraces efc20569 cmake: remove dummy backtraces for IssueMessage d46c650d cmMakefile: return a backtrace
Diffstat (limited to 'Source/cmTargetIncludeDirectoriesCommand.cxx')
-rw-r--r--Source/cmTargetIncludeDirectoriesCommand.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmTargetIncludeDirectoriesCommand.cxx b/Source/cmTargetIncludeDirectoriesCommand.cxx
index caec7eb..e9f0e04 100644
--- a/Source/cmTargetIncludeDirectoriesCommand.cxx
+++ b/Source/cmTargetIncludeDirectoriesCommand.cxx
@@ -70,8 +70,7 @@ bool cmTargetIncludeDirectoriesCommand
::HandleDirectContent(cmTarget *tgt, const std::vector<std::string> &content,
bool prepend, bool system)
{
- cmListFileBacktrace lfbt;
- this->Makefile->GetBacktrace(lfbt);
+ cmListFileBacktrace lfbt = this->Makefile->GetBacktrace();
cmValueWithOrigin entry(this->Join(content), lfbt);
tgt->InsertInclude(entry, prepend);
if (system)