diff options
author | Brad King <brad.king@kitware.com> | 2018-10-17 14:25:20 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-10-18 12:10:55 (GMT) |
commit | a6e02f881dc5e74d79201f761fb28c99a9e7d2af (patch) | |
tree | a71f752171ef570eff69ec6cc545671ba25a9db0 /Source/cmGlobalVisualStudio8Generator.cxx | |
parent | a093b1a4f3c8c40c55c50ad8e701ceb599961140 (diff) | |
download | CMake-a6e02f881dc5e74d79201f761fb28c99a9e7d2af.zip CMake-a6e02f881dc5e74d79201f761fb28c99a9e7d2af.tar.gz CMake-a6e02f881dc5e74d79201f761fb28c99a9e7d2af.tar.bz2 |
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.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGlobalVisualStudio8Generator.cxx b/Source/cmGlobalVisualStudio8Generator.cxx index ba138c2..b155d9c 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. |