diff options
author | Brad King <brad.king@kitware.com> | 2021-03-10 14:37:00 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-03-10 15:01:11 (GMT) |
commit | 4f9a71974e0d6e34c81fd8f55fce4118157e5559 (patch) | |
tree | b6e7d627e23575e8b7f9d28bce6d260103ce0e44 /Source | |
parent | 214a06ec2ec567cd31aabdb3ada6421f965c5dfa (diff) | |
download | CMake-4f9a71974e0d6e34c81fd8f55fce4118157e5559.zip CMake-4f9a71974e0d6e34c81fd8f55fce4118157e5559.tar.gz CMake-4f9a71974e0d6e34c81fd8f55fce4118157e5559.tar.bz2 |
Xcode: Restore support for spaces in framework names
In commit ce2dee9e5b (Xcode: Don't add framework as -framework argument
in linker info list, 2020-09-28, v3.19.0-rc1~47^2) we split up the path
to a framework into the directory and framework name parts, but only
retained the quoting on the directory part. Restore quoting of the
framework name.
Fixes: #21910
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmGlobalXCodeGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx index 51a7915..5b44851 100644 --- a/Source/cmGlobalXCodeGenerator.cxx +++ b/Source/cmGlobalXCodeGenerator.cxx @@ -3647,7 +3647,7 @@ void cmGlobalXCodeGenerator::AddDependAndLinkInformation(cmXCodeObject* target) // implicit search path, so we need it libPaths.Add("-F " + this->XCodeEscapePath(fwDir)); } - libPaths.Add("-framework " + fwName); + libPaths.Add("-framework " + this->XCodeEscapePath(fwName)); } else { libPaths.Add(this->XCodeEscapePath(cleanPath)); } |