Merge topic 'swift-link-line-spaces' into release-3.17

af39d1b993 Swift: Fix quoting of library search paths with spaces

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4469
This commit is contained in:
Brad King
2020-03-12 13:31:54 +00:00
committed by Kitware Robot
+5 -3
View File
@@ -156,9 +156,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, " ");
}
}