Browse Source

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

Brad King 20 năm trước cách đây
mục cha
commit
99ee1883d4
1 tập tin đã thay đổi với 2 bổ sung3 xóa
  1. 2 3
      Source/cmLocalGenerator.cxx

+ 2 - 3
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