diff options
author | Stephen Kelly <steveire@gmail.com> | 2012-10-04 00:33:21 +0200 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2012-10-09 08:26:32 -0400 |
commit | 4801eb633392eff95586709df570dabcdf0f5db1 (patch) | |
tree | c931e5647236c2f7b5e5e9b775ceb1b237ea2255 /Source/cmGeneratorExpressionParser.cxx | |
parent | 47e50423bfbbb277e60b578d1a7174f1fc24b01c (diff) | |
download | cmake-4801eb633392eff95586709df570dabcdf0f5db1.tar.gz |
GenEx: It is not an error to specify an empty parameter
This is allowed by the CONFIG and STREQUAL expressions.
Diffstat (limited to 'Source/cmGeneratorExpressionParser.cxx')
-rw-r--r-- | Source/cmGeneratorExpressionParser.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Source/cmGeneratorExpressionParser.cxx b/Source/cmGeneratorExpressionParser.cxx index d3c4aa38b7..344e9f832c 100644 --- a/Source/cmGeneratorExpressionParser.cxx +++ b/Source/cmGeneratorExpressionParser.cxx @@ -142,10 +142,6 @@ void cmGeneratorExpressionParser::ParseGeneratorExpression( --this->NestingLevel; ++this->it; } - if (parameters.empty()) - { - // ERROR - } } if (nestedLevel != this->NestingLevel) |