mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 21:31:08 -06:00
Merge topic 'fix-xcode4-test-failures'
0cf4fa5 Xcode4: Requires more quoting of single quote char
This commit is contained in:
@@ -3467,7 +3467,14 @@ void cmGlobalXCodeGenerator::AppendFlag(std::string& flags,
|
||||
{
|
||||
if(*c == '\'')
|
||||
{
|
||||
flags += "\\\\'";
|
||||
if (this->XcodeVersion >= 40)
|
||||
{
|
||||
flags += "'\\\\''";
|
||||
}
|
||||
else
|
||||
{
|
||||
flags += "\\\\'";
|
||||
}
|
||||
}
|
||||
else if(*c == '\\')
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user