mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-30 11:10:06 -05:00
Ninja generator: restore correct encoding for policy CMP0181=OLD
Fixes: #26857
This commit is contained in:
@@ -2639,7 +2639,8 @@ void cmLocalGenerator::AppendFlags(std::string& flags,
|
||||
}
|
||||
CM_FALLTHROUGH;
|
||||
case cmPolicies::OLD:
|
||||
this->AppendFlags(flags, newFlags);
|
||||
this->AppendFlags(
|
||||
flags, this->GetGlobalGenerator()->GetEncodedLiteral(newFlags));
|
||||
break;
|
||||
case cmPolicies::NEW:
|
||||
if (compileOrLink == cmBuildStep::Link) {
|
||||
|
||||
Reference in New Issue
Block a user