diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2023-04-26 13:27:46 (GMT) |
---|---|---|
committer | Marc Chevrier <marc.chevrier@gmail.com> | 2023-04-29 07:54:22 (GMT) |
commit | 87fe031a0703f07b8636f8ea59b6746788e71869 (patch) | |
tree | c5dd5704ef8688c65e9eae923299d5a00c76f3c9 /Source/cmListCommand.cxx | |
parent | f9da4cf8f1c56333511661de9fc74f4b82c1675b (diff) | |
download | CMake-87fe031a0703f07b8636f8ea59b6746788e71869.zip CMake-87fe031a0703f07b8636f8ea59b6746788e71869.tar.gz CMake-87fe031a0703f07b8636f8ea59b6746788e71869.tar.bz2 |
cmList class: various enhancements
Diffstat (limited to 'Source/cmListCommand.cxx')
-rw-r--r-- | Source/cmListCommand.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmListCommand.cxx b/Source/cmListCommand.cxx index 40be0ce..acffa2e 100644 --- a/Source/cmListCommand.cxx +++ b/Source/cmListCommand.cxx @@ -205,7 +205,7 @@ bool HandleAppendCommand(std::vector<std::string> const& args, GetListString(listString, listName, makefile); makefile.AddDefinition( - listName, cmList::append(args.begin() + 2, args.end(), listString)); + listName, cmList::append(listString, args.begin() + 2, args.end())); return true; } @@ -226,7 +226,7 @@ bool HandlePrependCommand(std::vector<std::string> const& args, GetListString(listString, listName, makefile); makefile.AddDefinition( - listName, cmList::prepend(args.begin() + 2, args.end(), listString)); + listName, cmList::prepend(listString, args.begin() + 2, args.end())); return true; } |