cmArgumentParser: Require callers to consider unparsed arguments

This commit is contained in:
Brad King
2022-06-28 16:25:54 -04:00
parent 1ee5a4a548
commit 2873f41bd9
3 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -197,7 +197,7 @@ std::vector<std::string> TargetSourcesImpl::ConvertToAbsoluteContent(
bool TargetSourcesImpl::HandleFileSetMode(
const std::string& scope, const std::vector<std::string>& content)
{
auto args = FileSetsArgsParser.Parse(content);
auto args = FileSetsArgsParser.Parse(content, /*unparsedArguments=*/nullptr);
for (auto& argList : args.FileSets) {
argList.emplace(argList.begin(), "FILE_SET"_s);