mirror of
https://github.com/Kitware/CMake.git
synced 2026-08-08 00:30:48 +00:00
Merge branch 'backport-fix-lang-std-option-list' into fix-lang-std-option-list
This commit is contained in:
@@ -1647,7 +1647,11 @@ void cmLocalGenerator::AddCompilerRequirementFlag(
|
|||||||
|
|
||||||
const char* opt =
|
const char* opt =
|
||||||
target->Target->GetMakefile()->GetRequiredDefinition(option_flag);
|
target->Target->GetMakefile()->GetRequiredDefinition(option_flag);
|
||||||
this->AppendFlagEscape(flags, opt);
|
std::vector<std::string> optVec;
|
||||||
|
cmSystemTools::ExpandListArgument(opt, optVec);
|
||||||
|
for (size_t i = 0; i < optVec.size(); ++i) {
|
||||||
|
this->AppendFlagEscape(flags, optVec[i]);
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1660,7 +1664,11 @@ void cmLocalGenerator::AddCompilerRequirementFlag(
|
|||||||
|
|
||||||
if (const char* opt =
|
if (const char* opt =
|
||||||
target->Target->GetMakefile()->GetDefinition(option_flag)) {
|
target->Target->GetMakefile()->GetDefinition(option_flag)) {
|
||||||
this->AppendFlagEscape(flags, opt);
|
std::vector<std::string> optVec;
|
||||||
|
cmSystemTools::ExpandListArgument(opt, optVec);
|
||||||
|
for (size_t i = 0; i < optVec.size(); ++i) {
|
||||||
|
this->AppendFlagEscape(flags, optVec[i]);
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user