diff options
Diffstat (limited to 'Source/cmListCommand.cxx')
-rw-r--r-- | Source/cmListCommand.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmListCommand.cxx b/Source/cmListCommand.cxx index 9d71860..efda0e5 100644 --- a/Source/cmListCommand.cxx +++ b/Source/cmListCommand.cxx @@ -103,6 +103,11 @@ bool cmListCommand::GetList(std::vector<std::string>& list, const char* var) { return false; } + // if the size of the list + if(listString.size() == 0) + { + return true; + } // expand the variable into a list cmSystemTools::ExpandListArgument(listString, list, true); // check the list for empty values |