mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-30 02:59:22 -05:00
CompileFeatures: Let STD compile options be a list
This commit is contained in:
@@ -1464,7 +1464,11 @@ void cmLocalGenerator::AddCompilerRequirementFlag(
|
|||||||
"does not know the compile flags to use to enable it.";
|
"does not know the compile flags to use to enable it.";
|
||||||
this->IssueMessage(cmake::FATAL_ERROR, e.str());
|
this->IssueMessage(cmake::FATAL_ERROR, e.str());
|
||||||
} else {
|
} else {
|
||||||
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