summaryrefslogtreecommitdiff
path: root/Source/cmGlobalVisualStudio8Generator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-10-17 10:25:20 -0400
committerBrad King <brad.king@kitware.com>2018-10-18 08:10:55 -0400
commita6e02f881dc5e74d79201f761fb28c99a9e7d2af (patch)
treea71f752171ef570eff69ec6cc545671ba25a9db0 /Source/cmGlobalVisualStudio8Generator.cxx
parenta093b1a4f3c8c40c55c50ad8e701ceb599961140 (diff)
downloadcmake-a6e02f881dc5e74d79201f761fb28c99a9e7d2af.tar.gz
add_dependencies: Track backtraces internally
Record backtraces for "utility" dependencies created by `add_dependencies` calls.
Diffstat (limited to 'Source/cmGlobalVisualStudio8Generator.cxx')
-rw-r--r--Source/cmGlobalVisualStudio8Generator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGlobalVisualStudio8Generator.cxx b/Source/cmGlobalVisualStudio8Generator.cxx
index ba138c22ed..b155d9ca7e 100644
--- a/Source/cmGlobalVisualStudio8Generator.cxx
+++ b/Source/cmGlobalVisualStudio8Generator.cxx
@@ -315,9 +315,9 @@ bool cmGlobalVisualStudio8Generator::NeedLinkLibraryDependencies(
cmGeneratorTarget* target)
{
// Look for utility dependencies that magically link.
- for (std::string const& ui : target->GetUtilities()) {
+ for (BT<std::string> const& ui : target->GetUtilities()) {
if (cmGeneratorTarget* depTarget =
- target->GetLocalGenerator()->FindGeneratorTargetToUse(ui)) {
+ target->GetLocalGenerator()->FindGeneratorTargetToUse(ui.Value)) {
if (depTarget->GetType() != cmStateEnums::INTERFACE_LIBRARY &&
depTarget->GetProperty("EXTERNAL_MSPROJECT")) {
// This utility dependency names an external .vcproj target.