Kaynağa Gözat

Merge branch 'swift-link-line-spaces' into release-3.16

Merge-request: !4469
Brad King 6 yıl önce
ebeveyn
işleme
5a896bbc55
1 değiştirilmiş dosya ile 5 ekleme ve 3 silme
  1. 5 3
      Source/cmLinkLineComputer.cxx

+ 5 - 3
Source/cmLinkLineComputer.cxx

@@ -142,9 +142,11 @@ void cmLinkLineComputer::ComputeLinkPath(
           type = cmStateEnums::ImportLibraryArtifact;
         }
 
-        linkPathNoBT += cmStrCat(
-          " ", libPathFlag, item.Target->GetDirectory(cli.GetConfig(), type),
-          libPathTerminator, " ");
+        linkPathNoBT +=
+          cmStrCat(" ", libPathFlag,
+                   this->ConvertToOutputForExisting(
+                     item.Target->GetDirectory(cli.GetConfig(), type)),
+                   libPathTerminator, " ");
       }
     }