mirror of
https://github.com/reactos/CMake.git
synced 2024-11-23 19:49:51 +00:00
Swift: Fix quoting of library search paths with spaces
The library search paths added by commit 2746c61e6d
(Swift: Add library
search paths for dependencies, 2019-06-09, v3.16.0-rc1~561^2) need to be
quoted properly on command lines to handle spaces and such. This was
already done by `cmLinkLineComputer::ComputeLinkPath` for
non-Swift-specific link directories.
This commit is contained in:
parent
b7d8c91822
commit
af39d1b993
@ -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, " ");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user