diff options
author | Brad King <brad.king@kitware.com> | 2006-04-04 21:14:20 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2006-04-04 21:14:20 (GMT) |
commit | 99ee1883d4338b28a4755925b540aa03843ea130 (patch) | |
tree | 506cda24f75619631b6e603fe34e1f61269f7c63 | |
parent | 5462f9a2b9b1403a40c5a006cd91d5c46390d501 (diff) | |
download | CMake-99ee1883d4338b28a4755925b540aa03843ea130.zip CMake-99ee1883d4338b28a4755925b540aa03843ea130.tar.gz CMake-99ee1883d4338b28a4755925b540aa03843ea130.tar.bz2 |
BUG: Removing part of earlier fix because it does not work with VS generators. It may be restored later after cmOrderLinkDirs is further fixed.
-rw-r--r-- | Source/cmLocalGenerator.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index cb60d47..fb5b020 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 |