summaryrefslogtreecommitdiffstats
path: root/Source/cmListCommand.cxx
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2023-04-26 13:27:46 (GMT)
committerMarc Chevrier <marc.chevrier@gmail.com>2023-04-29 07:54:22 (GMT)
commit87fe031a0703f07b8636f8ea59b6746788e71869 (patch)
treec5dd5704ef8688c65e9eae923299d5a00c76f3c9 /Source/cmListCommand.cxx
parentf9da4cf8f1c56333511661de9fc74f4b82c1675b (diff)
downloadCMake-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.cxx4
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;
}