mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-03 05:08:47 -06:00
make sure ; expansion is done in all commands
This commit is contained in:
@@ -18,13 +18,15 @@
|
||||
|
||||
|
||||
// cmLoadcacheCommand
|
||||
bool cmLoadCacheCommand::InitialPass(std::vector<std::string> const& args)
|
||||
bool cmLoadCacheCommand::InitialPass(std::vector<std::string> const& argsIn)
|
||||
{
|
||||
if (args.size()< 1)
|
||||
if (argsIn.size()< 1)
|
||||
{
|
||||
this->SetError("called with wrong number of arguments.");
|
||||
}
|
||||
|
||||
std::vector<std::string> args;
|
||||
cmSystemTools::ExpandListArguments(argsIn, args);
|
||||
|
||||
// Cache entries to be excluded from the import list.
|
||||
// If this set is empty, all cache entries are brought in
|
||||
// and they can not be overridden.
|
||||
|
||||
Reference in New Issue
Block a user