mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-22 06:59:01 -06:00
GenEx: It is not an error to specify an empty parameter
This is allowed by the CONFIG and STREQUAL expressions.
This commit is contained in:
@@ -142,10 +142,6 @@ void cmGeneratorExpressionParser::ParseGeneratorExpression(
|
||||
--this->NestingLevel;
|
||||
++this->it;
|
||||
}
|
||||
if (parameters.empty())
|
||||
{
|
||||
// ERROR
|
||||
}
|
||||
}
|
||||
|
||||
if (nestedLevel != this->NestingLevel)
|
||||
|
||||
Reference in New Issue
Block a user