mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-04 21:30:01 -05:00
Merge topic 'ninja-lib-symlink-space'
13c92b4a30 Ninja: Fix creation of library symlinks in folders with spaces
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3341
This commit is contained in:
@@ -1132,7 +1132,9 @@ void cmNinjaNormalTargetGenerator::WriteLinkStatement()
|
||||
this->GetTargetFilePath(this->TargetNames.SharedObject));
|
||||
// If one link has to be created.
|
||||
if (targetOutputReal == soName || targetOutput == soName) {
|
||||
symlinkVars["SONAME"] = soName;
|
||||
symlinkVars["SONAME"] =
|
||||
this->GetLocalGenerator()->ConvertToOutputFormat(
|
||||
soName, cmOutputConverter::SHELL);
|
||||
} else {
|
||||
symlinkVars["SONAME"].clear();
|
||||
symlinks.push_back(soName);
|
||||
|
||||
Reference in New Issue
Block a user