summaryrefslogtreecommitdiffstats
path: root/Source/cmComputeTargetDepends.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/cmComputeTargetDepends.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/cmComputeTargetDepends.cxx')
-rw-r--r--Source/cmComputeTargetDepends.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmComputeTargetDepends.cxx b/Source/cmComputeTargetDepends.cxx
index 3541922..2ae8084 100644
--- a/Source/cmComputeTargetDepends.cxx
+++ b/Source/cmComputeTargetDepends.cxx
@@ -245,7 +245,7 @@ void cmComputeTargetDepends::CollectTargetDepends(int depender_index)
->IssueMessage(cmake::FATAL_ERROR,
"Only executables and non-OBJECT libraries may "
"reference target objects.",
- depender->Target->GetBacktrace());
+ depender->GetBacktrace());
return;
}
const_cast<cmGeneratorTarget*>(depender)->Target->AddUtility(objLib);