BUG: Removing part of earlier fix because it does not work with VS generators. It may be restored later after cmOrderLinkDirs is further fixed.

This commit is contained in:
Brad King 2006-04-04 17:14:20 -04:00
parent 5462f9a2b9
commit 99ee1883d4
1 changed files with 2 additions and 3 deletions

View File

@ -1392,11 +1392,10 @@ cmLocalGenerator::ComputeLinkInformation(cmTarget& target,
if(tgt)
{
// This is a CMake target. Ask the target for its real name.
std::string realLibrary = tgt->GetFullPath(config);
linkLibraries.push_back(realLibrary);
linkLibraries.push_back(tgt->GetFullName(config));
if(fullPathLibs)
{
fullPathLibs->push_back(realLibrary);
fullPathLibs->push_back(tgt->GetFullPath(config));
}
}
else