diff options
author | Brad King <brad.king@kitware.com> | 2022-06-28 20:25:54 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-07-05 20:35:01 (GMT) |
commit | 2873f41bd9f3636f53abf9c31a0b7492366c5199 (patch) | |
tree | 673696739fc116262eaba782946e610af51b8020 /Source/cmTargetSourcesCommand.cxx | |
parent | 1ee5a4a548c62e5c382f3497be82aac36a99e485 (diff) | |
download | CMake-2873f41bd9f3636f53abf9c31a0b7492366c5199.zip CMake-2873f41bd9f3636f53abf9c31a0b7492366c5199.tar.gz CMake-2873f41bd9f3636f53abf9c31a0b7492366c5199.tar.bz2 |
cmArgumentParser: Require callers to consider unparsed arguments
Diffstat (limited to 'Source/cmTargetSourcesCommand.cxx')
-rw-r--r-- | Source/cmTargetSourcesCommand.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmTargetSourcesCommand.cxx b/Source/cmTargetSourcesCommand.cxx index e4244a6..76b0384 100644 --- a/Source/cmTargetSourcesCommand.cxx +++ b/Source/cmTargetSourcesCommand.cxx @@ -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); |