From 99ee1883d4338b28a4755925b540aa03843ea130 Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 4 Apr 2006 17:14:20 -0400 Subject: [PATCH] BUG: Removing part of earlier fix because it does not work with VS generators. It may be restored later after cmOrderLinkDirs is further fixed. --- Source/cmLocalGenerator.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index cb60d47f3..fb5b020e0 100644 --- a/Source/cmLocalGenerator.cxx +++ b/Source/cmLocalGenerator.cxx @@ -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