diff options
Diffstat (limited to 'Source/cmLocalVisualStudio6Generator.cxx')
-rw-r--r-- | Source/cmLocalVisualStudio6Generator.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmLocalVisualStudio6Generator.cxx b/Source/cmLocalVisualStudio6Generator.cxx index 258d027..c657a0e 100644 --- a/Source/cmLocalVisualStudio6Generator.cxx +++ b/Source/cmLocalVisualStudio6Generator.cxx @@ -1570,11 +1570,12 @@ void cmLocalVisualStudio6Generator std::string& options) { // Compute the link information for this configuration. - cmComputeLinkInformation cli(&target, configName); - if(!cli.Compute()) + cmComputeLinkInformation* pcli = target.GetLinkInformation(configName); + if(!pcli) { return; } + cmComputeLinkInformation& cli = *pcli; typedef cmComputeLinkInformation::ItemVector ItemVector; ItemVector const& linkLibs = cli.GetItems(); std::vector<std::string> const& linkDirs = cli.GetDirectories(); |