diff options
author | Brad King <brad.king@kitware.com> | 2019-05-22 14:24:38 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-05-22 14:24:46 (GMT) |
commit | 021c61408cc042b1467fbee5cfac4a1ea509118f (patch) | |
tree | 288f4ba6315d9e0de31716d85050a58556099ace /Source/cmNinjaNormalTargetGenerator.cxx | |
parent | 01b6a2c4ee8930e60459b46b4d751148ce28d5a9 (diff) | |
parent | 13c92b4a300934e9f8573dee01ab4ec5e06fa7a1 (diff) | |
download | CMake-021c61408cc042b1467fbee5cfac4a1ea509118f.zip CMake-021c61408cc042b1467fbee5cfac4a1ea509118f.tar.gz CMake-021c61408cc042b1467fbee5cfac4a1ea509118f.tar.bz2 |
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
Diffstat (limited to 'Source/cmNinjaNormalTargetGenerator.cxx')
-rw-r--r-- | Source/cmNinjaNormalTargetGenerator.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmNinjaNormalTargetGenerator.cxx b/Source/cmNinjaNormalTargetGenerator.cxx index 06063b2..95ffb65 100644 --- a/Source/cmNinjaNormalTargetGenerator.cxx +++ b/Source/cmNinjaNormalTargetGenerator.cxx @@ -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); |