mirror of
https://github.com/Kitware/CMake.git
synced 2025-12-31 19:00:54 -06: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.";
|
||||
this->IssueMessage(cmake::FATAL_ERROR, e.str());
|
||||
} 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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user